this post was submitted on 15 Sep 2023
236 points (92.4% liked)

Programmer Humor

32380 readers
1443 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] 3 points 1 year ago (1 children)

Also indexes. Once you've been bitten enough by off-by-one errors this actually becomes a pretty handy double-check.

[–] [email protected] 1 points 1 year ago (1 children)

indexes in memory can be thought of as the address of the leftmost bit in a byte (container)

[–] [email protected] 2 points 1 year ago

Sorry, too busy counting digital outputs on Modicon PLCs to think about that stuff.