411

"It's just easier to type" and other lies you believe

you are viewing a single comment's thread
view the rest of the comments
[-] words_number@programming.dev 32 points 1 year ago

Seriously though, why? Is there historic reasons for that? Did they have to pay extra for more letters back in the day?

[-] scurry@lemmy.world 31 points 1 year ago

Yes. Memory and storage were at a very high premium until the 1990s, and when C was first being developed, it wasn’t uncommon for computers to output to printers (that’s why print() and co are named what they are), so every character was at a premium. In the latter case, you were literally paying in ink and paper by the character. These contributed to this convention that we’re still stuck with today in C.

[-] QuazarOmega@lemy.lol 4 points 1 year ago

Wait, but they didn't print out the source code right? Or did they use teletypes to develop?

[-] xchgeaxeax@sh.itjust.works 10 points 1 year ago

or did they use teletypes to develop

Basically yeah. ed the editor was designed with that in mind

[-] QuazarOmega@lemy.lol 4 points 1 year ago

Oh, that makes a lot of sense then.

After all, it is the standard text editor

spoiler

uff, doesn't feel right if it isn't KasaneTeto saying this :/

load more comments (6 replies)
load more comments (16 replies)
this post was submitted on 05 Sep 2023
411 points (94.8% liked)

Programmer Humor

19166 readers
1754 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