Re:Show HN: My Child's First Program
by SoftTalker on Tuesday December 06, 2022 @04:16PM
(#33887169)
When I learned programming the BASIC variant I used only supported two-character variable names. And even where longer names were allowed, the text of the program consumed memory so you could optimize by keeping variable names as short as possible. So I had the habit of using single-letter variables for quite a while. I still use them as loop counters, or in small functions where the scope of the variable is maybe a few lines of code and completely unambiguous. In such cases I think long variable names are distracting.
[ Parent
| on HN ]
There are no comments on this comment yet.