this post was submitted on 27 Jun 2023
139 points (100.0% liked)

Programmer Humor

853 readers
17 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 8 comments
sorted by: hot top controversial new old
[–] hobbsc@lemmy.sdf.org 32 points 1 year ago (1 children)

That's kind of a confusing way to explain binary

[–] drew_belloc@programming.dev 3 points 1 year ago

That's kinda how my college explained

[–] zurohki@lemmy.fmhy.ml 26 points 1 year ago (1 children)

There are 10 kinds of people in the world. Those who understand binary, those who don't, and those who didn't realise this joke is in base 3.

[–] aaiding@feddit.nl 12 points 1 year ago (2 children)

Actually, there's 2 more:

  1. People making off-by-one errors
[–] zurohki@lemmy.fmhy.ml 11 points 1 year ago (1 children)

IIRC the two hardest problems in computer science are cache invalidation, naming things, and off by one errors.

[–] aaiding@feddit.nl 1 points 1 year ago

Pretty sure that's the one

Wikipedia called these fencepost errors at one point (they now just say it is the specific type of off-by-one error in which you miscount the posts (vertices) or panels (arcs) in a fence (graph) by using one to count the other). I read this before my first programming class and then mentioned the term to my professor. She had no idea what I was talking about 😅

[–] Port8080@feddit.de 6 points 1 year ago

I think he got it

load more comments
view more: next ›