3 points

If you count your knuckles you can get all the way up to b on one hand! Both hands can get up to 17!

permalink
report
reply
4 points

Up to 355687428096000? That’s impressive!

permalink
report
parent
reply
15 points

Count in binary up to 1023 on your hands you filthy casual

permalink
report
reply
7 points

just beware when counting the number 4 in public

permalink
report
parent
reply
4 points

Or 256, or 260.

permalink
report
parent
reply
2 points

Especially 260.

permalink
report
parent
reply
10 points

One time, I got hit with “You’re a programmer, you should be able to count.” and yep, made that exact joke…

permalink
report
reply
0 points
*
Deleted by creator
permalink
report
parent
reply
2 points

Band practice. We were playing some rapid song with changing time signatures, so everyone was struggling to count along. I just commented on it, so got some flak, but only as a joke.

permalink
report
parent
reply
13 points

You count one finger up as the same as no fingers up? Counting is not the same as an index.

permalink
report
reply
57 points

Are you indexing your fingers or counting them ?

Indexing starts ar 0 but counting starts at 1.

permalink
report
reply
27 points

This.

One of the reasons indexing starts at zero is because back when we used to use pointers and memory addresses, the first byte(s) of an array were at the address where the array was stored. Let’s say it is at 1234. If it was an array of bytes, the first data element was at 1234, or 1234 + 0. The second element would be at 1235, or 1234 + 1. So the first element is at location 0 and the second at location 1, where the index is actually just an offset from the base address. There may be other/better reasons, but that’s what I was taught back in the 90s.

Counting always starts at 1 (if we’re only using integers). You don’t eat a hamburger and say you ate zero hamburgers.

permalink
report
parent
reply
2 points
*
Deleted by creator
permalink
report
parent
reply
5 points

“used to”?

permalink
report
parent
reply
3 points

Perchance programming with pointers has plunged as a percentage of programmers.

But thank you. I was hoping someone would notice that.

permalink
report
parent
reply
10 points
*

There was a time when I had to switch back and forth between Fortran90 and C several times a day, and it messed me up so bad that doing simple tasks like counting apples at the grocery gave me anxiety.

permalink
report
parent
reply
9 points

I do say I ate zero hamburgers if I just started counting and I have yet to eat one

permalink
report
parent
reply
2 points

When you’ve eaten more than 50% of the hamburger, do you claim to have eaten one, or do you claim zero? Are you useing standard founding or are you using floor()?

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 7.2K

    Monthly active users

  • 954

    Posts

  • 37K

    Comments