4 points

I once had a professor ask to solve the tower of hanoi using only 2 pegs.

permalink
report
reply
0 points

How did that turn out?

permalink
report
parent
reply
5 points

It was a trick question.

permalink
report
parent
reply
0 points

Yeah of course but what did he expect to happen?

permalink
report
parent
reply
3 points

And then someone starts talking about dining philosophers…

permalink
report
reply
2 points

I don’t get this meme. Can anyone explain what this meme means?

permalink
report
reply
3 points

This is called Tower of Hanoi problem, usually introduced as main task when learning about recursion in programming

permalink
report
parent
reply
2 points

The meme basically shows how a non-programmer sees the Towers of Hanoi game as a fun little puzzle, while a programmer sees it as a traumatizing experience due to the recursive nature of the algorithm behind it

permalink
report
parent
reply
2 points

Oh god Hanoi’s towers… Incredible that I programmed it in BASIC on my ZX81 in the 80s, and now at 50+yo I would have no clue how to program it lol

permalink
report
reply
2 points

M-x hanoi

permalink
report
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.9K

    Monthly active users

  • 1.5K

    Posts

  • 34K

    Comments