Readability is the highest virtue in the comparison, it brings the highest value. Whether you type one key less or more just can't compare with a high value of readability that extends teams, code adoptions, easy of understanding, ... Underscores in a big way.
I feel that the argument that shift is "quicker" its very relative. as it is not every programmer types using the same fingers and we arent all Pro typers. keyboards are different all over the place. we also right code to be easy to maintain not easy to type. at the end you may need to use shift for either solutions and hitting the shift key the same amount of times for both.
* less hand movement
* separation between words, so it's easier to read long names. (can arguably be seen as a con since that enables people with "long-name-syndrome" :D)
* one of the two looks better
It's a bit close at the moment... I kinda wish that the example was longer and 'harder' to read... :/
If you are a crappy C programmer; camelCase
at least there's consensus.
I find it easier to use camelCase my self too. Since native php function naming is underscore it makes easier to distinguish between your own funcitons and php's functions. But I think CamelCase starting with big instead of small case is good too. Especially for classes.
Opinions! We all have them. Find out what people really think with polls and surveys from Crowdsignal.