Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I feel you..
Lost a couple of hours recently because of I & Lowercase L..
What language and what IDE?
I used sublime because I usually don’t touch JS so I didn’t wanna I stalk a proper ide for that one time..
My fault but it’s still annoying. -
If you are going to use vim or emacs, you should invest in learning what code quality tools are available for the technologies you work on. The tools most people use these days would warn about a name like this in coffeescript, and they'd do it after almost zero configuration beyond: "install coffescript support module".
If you don't want to bother with that type of configuration, try out some different tools that do more for you out of the box and take less know-how to configure. -
@shoop
This is only good advice in specific circumstances. Many paradigms have conventions that encourage expressive and verbose naming. In that context, this is bad advice. In the (probably less common) case where shorter names are favored by convention, shorter names are good advice.
Either way, short names are not a tool meant to help you avoid misspelling.
In coffeescript, this is not a convention. For the most part, you should use whole English words to name things.
Related Rants
Just spent the last 40 mins finding the difference between ‘promocodeInputValue’ and ‘promoCodeInputValue’
rant
reading is hard
spelling
pain