this post was submitted on 27 Jun 2025
863 points (98.6% liked)

Programmer Humor

25311 readers
645 users here now

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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] pugnaciousfarter@literature.cafe 51 points 1 month ago (1 children)

This is very inefficient, they should be using a switch case.

[โ€“] Hotzilla@sopuli.xyz 3 points 1 month ago* (last edited 1 month ago)

For efficiency you should you GOTO, so you can join trees that end up in same position.

Like those create your own adventures books.