Hm, okay. The word "professor" made me think that it may be something really interesting and not just "do this" — "not possible" — "yeah, you're right"
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
16 Comments
Frederic@beehaw.org · 9 pts · 3y
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
CannotSleep420@lemmygrad.ml · 9 pts · 3y
I once had a professor ask to solve the tower of hanoi using only 2 pegs.
illectrility@lemmy.world · 2 pts · 3y
How did that turn out?
CannotSleep420@lemmygrad.ml · 5 pts · 3y
It was a trick question.
illectrility@lemmy.world · 2 pts · 3y
Yeah of course but what did he expect to happen?
CannotSleep420@lemmygrad.ml · 5 pts · 3y
Realize it was impossible I guess?
illectrility@lemmy.world · 2 pts · 3y
Hm, okay. The word "professor" made me think that it may be something really interesting and not just "do this" — "not possible" — "yeah, you're right"
legalpenguin@lemmy.ml · 4 pts · 3y
Any other recursive algorithm was no problem for me, but I couldn't wrap my head around this game.
aspensmonster@lemmygrad.ml · 3 pts · 3y
And then someone starts talking about dining philosophers...
gylotip@lemmy.ml · 3 pts · 3y
sweetlemon@lemmy.ml · 6 pts · 3y
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
Xanvial@beehaw.org · 6 pts · 3y
This is called Tower of Hanoi problem, usually introduced as main task when learning about recursion in programming
Cassilda@lemmygrad.ml · 2 pts · 3y
M-x hanoi
assa123@lemmy.world · 2 pts · 3y
Good ol' emacs, relevant xkcd (although I don't think there's anyone that hasn't seen it).
NotYourSocialWorker@lemmy.world · 1 pts · 3y
Sure, but can you shut it off?
howarddo@programming.dev · 2 pts · 3y
Hey I'm Vietnamese, nothing to scared of tower of Hanoi ok? Come vitsit us, it would be nice experience for u I'm sure
Puzzlehead@lemmy.world · 1 pts · 3y