this post was submitted on 24 Mar 2024
2 points (100.0% liked)

Programmer Humor

19817 readers
608 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
[–] Magnetar@feddit.de 0 points 9 months ago* (last edited 9 months ago)

I've literally seen code that does something awfully similar. But you could have used an Enumeration.

Fuck, I think you just gave me an idea for an issue in my code that has bugged me for days.