Re:Please put units in names
by tirpen on Monday March 21, 2022 @03:59AM
(#30751468)
Are you coding without any form of auto completion?
[ Parent
| on HN ]
As silly as this may sound, you may run into issues with certain linters or formatting tools in some languages.
A prominent example is PEP8 in Python, which suggests a line length limit of 79 characters (though 80-100 chars are considered to be "OK" as well). Long variable or function names can lead to distracting "forced" line breaks in such scenarios.
Is anyone these days? That said I, personally, do prefer more concise naming.
Re:Please put units in names
by ParetoOptimal on Tuesday March 22, 2022 @09:44PM
(#30773900)
IMO it's about readability, not the typing that can be automated.