0
why this app doesn't follow coding convention?
i just follow some lessons on this app and they give example to name variable using "_". the most coding convention used nowadays is using camelCases not "_".
2 Respuestas
+ 1
hmm I don't know of any psr that forces to do so.
In php, methods for ex, follow the camelCase rule.
but in General it depends on different things.
- the country, different countries different views on things and notations
- Company, they can define in-house conventions
- coder, u as dev could have internalize specific conventions, opposite from the actual convention
...
0
yes true, but i think since the most used framework nowadays zend, laravel, symfony use camelCames it would be better to give example in the most popular method. and some of lessons on this app also out of dated. i hope this app is not being abandoned.