Here's a work in progress listing some naming-related red flags in code: https://www.natemeyvis.com/naming.html What am I missing?
Eh, it’s 2021, autocomplete works well. Long names are often bad, but not usually because of the length per se.
-
-
For me they are bad because they take up a lot of space in the IDE or in tables when viewing some form of data frames. Not necessarily about remembering or having to type them.
-
If it takes a long variable name to add clarity to the code, please use a long name. However, needing a very long name to add clarity is a sign that something could to be extracted to isolate that complexity and make the instant use easier to name.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.