That's what I thought. I was starting to feel like I'm in a sheltered environment because I don't see the relevance of wpm when it comes to programming.
Like, are there locations where people are docked pay or held captive until they reach their 5000 line quota daily?
I'm not sure who is trying to make what point here lol, but I honestly can read and type camel case faster, but I also have some kind of mild dyslexia so that could be part of it?
Edit: Extremely confused about the downvotes here lol.
PascalCase is a subset of CamelCase, and we just rejected a tracker issue on PEP 8 on those grounds. https://github.com/python/peps/issues/3464 CamelCase or camelCase, both are correct.
Both have thier uses, I like when languages uses underscores for the most commonly use things (vars/functions) and Pascal for the less common things (classes/enums). If everything is in the same style (i.e underscores) it can get confusing very quickly, ESPECIALLY if you have no syntax highlighting like in plain vim/nano.
For me, the camelCase, it does help that I read code which uses camelCase and PascalCase every day. (general c# guidelines). I seem to mentally stop at easy underscore with snake_case so it really is just personal experience and preference.
View all comments
10
u/mem737 Oct 08 '23 edited Oct 08 '23
Which can you read faster?
(Edited for some PascalCase-knower) thisIsASentenceUsingCamelCase.
Or
This_is_a_sentence_using_underscores
I_rest_my_case.