this post was submitted on 27 Jun 2023
162 points (97.6% liked)

Programmer Humor

32396 readers
693 users here now

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

Rules:

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

That's kind of a confusing way to explain binary

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

That's kinda how my college explained

[–] c0mbatbag3l@lemmy.world 2 points 1 year ago

Common core binary lol

[–] BestBouclettes@lemmy.world 2 points 1 year ago

Absolutely, it's much easier to understand with a binary table

[–] kamen@lemmy.world 1 points 1 year ago (1 children)

IMO it should've been an analogy with 9 in base 10, it would've been clearer.

[–] c0mbatbag3l@lemmy.world 1 points 1 year ago (1 children)

Yeah when I'm teaching new networking guys how binary and hex works I always reference the changeover from 9- the next place (tens, hundreds, thousands) to conceptualize the idea that we count the way we do only because of base ten.

In order to teach alternate forms of counting you have to first break someone out of the idea that base ten is "how it's done" which is difficult because we never mention in education prior to college or trade schools that you can count with literally any number of symbols if you wanted to.

[–] kamen@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Yep, I think the problem with most folks is that base 10 is taken for granted without fully understanding it. Maybe some of the concepts would be even easier to explain in hex instead of in binary - that you count to F instead of to 9 before flipping to 10, then explaining that binary follows the same principle, but only has two digits, hence has to flip to 10 sooner.

[–] zurohki@lemmy.fmhy.ml 32 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 16 points 1 year ago (1 children)

Actually, there's 2 more:

  1. People making off-by-one errors
[–] zurohki@lemmy.fmhy.ml 14 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 2 points 1 year ago

Pretty sure that's the one

[–] AdamEatsAss@lemmy.world 6 points 1 year ago (2 children)

Binary is not very pc. Everyone knows there are infinite numbers

...there's still infinite numbers in binary?

[–] Little8Lost@lemmy.world 1 points 1 year ago (1 children)
[–] meekah@lemmy.world 1 points 1 year ago

Some weird joke about political correctness and genders I think

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

I think he got it