this post was submitted on 14 Jan 2025
432 points (91.2% liked)

Programmer Humor

32880 readers
1440 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
[–] flambonkscious@sh.itjust.works 5 points 1 day ago (2 children)

I might be a slow learner but I'm catching on...

[–] JackbyDev@programming.dev 5 points 19 hours ago (2 children)

Regardless of what base you're using, 10 is always the nth number. In base 10 (normal numbers), 10 is 10th. In base 2 it is the 2nd.

  1. 1
  2. 10
  3. 11

In base 16 (hexadecimal) it is the 16th.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. A
  11. B
  12. C
  13. D
  14. E
  15. F
  16. 10

The original joke is "there are 10 kinds of people, those who understand binary and those who don't l" because 10 in binary is 2 in base 10. But they're pointing out that a similar joke works for all bases of numbers.

[–] theherk@lemmy.world 1 points 1 hour ago

Some of us would argue 10 is the n+1 th number because zero comes first. Otherwise you’re just throwing a new digit into the mix when you get to 10.

[–] flambonkscious@sh.itjust.works 2 points 3 hours ago

I love that you felt like this needed explaining - thanks!

[–] stebo02@lemmy.dbzer0.com 3 points 21 hours ago

ah I see, you are the 10th kind!