this post was submitted on 15 May 2025
1147 points (98.6% liked)

Programmer Humor

23420 readers
1790 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] answersplease77@lemmy.world 3 points 1 week ago (2 children)
[–] Iron_Lynx@lemmy.world 6 points 1 week ago* (last edited 5 days ago) (1 children)

ASCII was originally a 7-bit standard. If you type in ASCII on an 8-bit system, every leading bit is always 0.

(Edited to specify context)

At least ASCII is forward compatible with UTF-8

[–] Jankatarch@lemmy.world 1 points 1 week ago

Is ascii base-7 fandom's strongest argument...

[–] houseofleft@slrpnk.net 4 points 1 week ago (1 children)

Ascii needs seven bits, but is almost always encoded as bytes, so every ascii letter has a throwaway bit.

[–] Valmond@lemmy.world 10 points 1 week ago (1 children)

Let's store the boolean there then!!

[–] anton@lemmy.blahaj.zone 1 points 4 days ago

That boolean can indicate if it's a fancy character, that way all ASCII characters are themselves but if the boolean is set it's something else. We could take the other symbol from a page of codes to fit the users language.
Or we could let true mean that the character is larger, allowing us to transform all of unicode to a format consisting of 8 bits parts.