this post was submitted on 27 Jun 2025
866 points (98.7% liked)

Programmer Humor

26014 readers
953 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 2 months ago (1 children)

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

[โ€“] Hotzilla@sopuli.xyz 3 points 2 months ago* (last edited 2 months 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.