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 "_".

23rd Jul 2016, 8:16 AM
Dodol Didil
Dodol Didil - avatar
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 ...
23rd Jul 2016, 9:05 AM
Steven
Steven - avatar
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.
23rd Jul 2016, 9:23 AM
Dodol Didil
Dodol Didil - avatar