this post was submitted on 21 Nov 2023
261 points (93.4% liked)

Programmer Humor

32396 readers
977 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
[–] [email protected] 34 points 11 months ago (5 children)

0-255 was good enough for me an my grandpappy.

[–] [email protected] 27 points 11 months ago (3 children)
[–] [email protected] 6 points 11 months 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.

[–] [email protected] 9 points 11 months ago* (last edited 11 months 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.

load more comments (1 replies)
load more comments (2 replies)