3 ms·
Worse, I've seen a lot of code that just uses the variable name "ll" as an array of two numbers and make no attempt to clarify which is which. Saved a whole 4
by gmiller123456 5y ago
Worse, I've seen a lot of code that just uses the variable name "ll" as an array of two numbers and make no attempt to clarify which is which. Saved a whole 4 characters by not making it "latlon". Then you get to guess what units they're in.
- catillac 5y agoIf it’s a variable there’s a reasonable chance it’s used more than once and thus saves more than four characters.
- djbusby 5y agoMaybe your text is grey cause saving a few chars on variable names doesn't save any RAM. And also confuses sober-you from reading your own code.
- feupan 5y agoThis is also why I avoid indentation; programming is all about saving those precious bytes like it’s 1988.
- seattle_spring 5y agoOn top of this, I feel like `ll` is quite verbose and memory intensive. A simple `l` would suffice with half the space.
- WorldMaker 5y ago`l` needs practically twice as many hole punches as `a` for "array" in my EBCDIC punch cards and fewer punches is less likely a card gets shredded in the reader.