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

Programmer Humor

32479 readers
238 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 1 year ago (5 children)

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

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

[–] [email protected] 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.

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