Not only that, but screen space was really limited back then; it was not uncommon to develop on terminals with as low as 80 columns and 24 lines. Having shorter names meant more of the code could fit on the screen at the same time.
I still develop on a terminal with 80 columns, to this day!
...but it has 96 rows, and there are five of them, side by side across my monitor. Definitely an improvement! - but I still prefer not to have long rambling Java-style identifiers.
That’s only for external identifiers (the one the linker sees), and it’s only six characters. This limit comes from FORTRAN, and in turn comes from the world of 36-bit word mainframes. Those machines didn’t have bytes, only words. Words could represent numbers, or up to 6 characters (in a 6-bit character set, no lowercase letters).
Internal identifiers and macro names had a lower limit of 31 significant characters in C.
The more relevant original reason for short identifiers is that code completion wasn’t a thing, and to a lesser extent that screens were at most 80 characters wide.
cesarb|1 year ago
rbanffy|1 year ago
marssaxman|1 year ago
...but it has 96 rows, and there are five of them, side by side across my monitor. Definitely an improvement! - but I still prefer not to have long rambling Java-style identifiers.
winocm|1 year ago
layer8|1 year ago
Internal identifiers and macro names had a lower limit of 31 significant characters in C.
The more relevant original reason for short identifiers is that code completion wasn’t a thing, and to a lesser extent that screens were at most 80 characters wide.
emmelaich|1 year ago
Hence, famously, "creat" instead of "create"
high_na_euv|1 year ago