this post was submitted on 21 Nov 2023
254 points (93.5% liked)

Programmer Humor

32503 readers
384 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] juliebean@lemm.ee 6 points 1 year ago (1 children)

i thought the top bit was originally 0 or 1 depending on the evilness/odiousness of the rest of the number, as a parity check.

[โ€“] CanadaPlus@futurology.today 9 points 1 year ago* (last edited 1 year ago)

The standard itself is 7-bit, since wires were deemed more valuable than endpoint logic for the teletype machines way back then. If you're running it on an 8-bit byte machine you could do it either way, although I'm not sure what the point in parity checking individual characters is. Modern software uses 0.