this post was submitted on 28 Mar 2024
325 points (96.3% liked)

Programmer Humor

19503 readers
1496 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 7 months ago (1 children)

Leaning to program on 8-bit machines with 8k of RAM means that even today I abbreviate names.

Plus it was accepted wisdom that shorter variable names were faster for the BASIC interpreter.

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago) (1 children)

~~variables don't make it to the compiled binary tho, except debug symbols of course if have those enabled (but deploying them to an embeeded system is a terrible idea, they can remain on the host system)~~

oh you mean on not for

[–] [email protected] 1 points 7 months ago

Yeah for interpreted BASIC.

But even after moving to writing assembly language on a separate PC devkit there was still the habit of using short names.

I think that some assemblers had limits on name size.