Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
catillac
on Feb 6, 2022
|
parent
|
context
|
favorite
| on:
Lon Lat Lon Lat
If it’s a variable there’s a reasonable chance it’s used more than once and thus saves more than four characters.
feupan
on Feb 6, 2022
|
next
[–]
This is also why I avoid indentation; programming is
all
about saving those precious bytes like it’s 1988.
seattle_spring
on Feb 6, 2022
|
parent
|
next
[–]
On top of this, I feel like `ll` is quite verbose and memory intensive. A simple `l` would suffice with
half
the space.
WorldMaker
on Feb 7, 2022
|
root
|
parent
|
next
[–]
`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.
djbusby
on Feb 6, 2022
|
prev
[–]
Maybe 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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: