Never use any of those.
One reason: In some RDBMS, column name is insensitive about those cases.
Use first_name instead of firstName , or FirstName and you'll always be fine.
Yep, even in php, function names are case insensitive. A call to someFunc() or SomeFunc() or even somefunc() all go to the same function.
I see some devs prefer firstName over first_name, which i see is a way to confusion if you use , for example PostgreSQL as column name.
I don't understand why they prefer that option. Maybe because it's "prettier" ?
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.