this post was submitted on 13 Jun 2023
58 points (96.8% liked)

Programmer Humor

32426 readers
889 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 14 comments
sorted by: hot top controversial new old
[–] CannotSleep420@lemmygrad.ml 6 points 1 year ago (1 children)

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

[–] illectrility@lemmy.world 1 points 1 year ago (1 children)
[–] CannotSleep420@lemmygrad.ml 6 points 1 year ago (1 children)
[–] illectrility@lemmy.world 1 points 1 year ago (1 children)

Yeah of course but what did he expect to happen?

[–] CannotSleep420@lemmygrad.ml 5 points 1 year ago (1 children)

Realize it was impossible I guess?

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

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"

[–] Frederic@beehaw.org 3 points 1 year ago

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

[–] aspensmonster@lemmygrad.ml 3 points 1 year ago

And then someone starts talking about dining philosophers...

[–] Cassilda@lemmygrad.ml 2 points 1 year ago (1 children)
[–] assa123@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Good ol' emacs, relevant xkcd (although I don't think there's anyone that hasn't seen it).

[–] gylotip@lemmy.ml 1 points 1 year ago (2 children)

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

[–] Xanvial@beehaw.org 2 points 1 year ago

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

[–] sweetlemon@lemmy.ml 2 points 1 year ago

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

[–] Puzzlehead@lemmy.world 1 points 1 year ago
load more comments
view more: next ›