this post was submitted on 09 Sep 2026
38 points (88.0% liked)

Programmer Humor

33155 readers
265 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 3 years ago
MODERATORS
 
top 12 comments
sorted by: hot top controversial new old
[–] kubica@fedia.io 3 points 15 minutes ago (1 children)

What is this about? I don't get the meme.

[–] ZILtoid1991@lemmy.world 2 points 6 minutes ago

PirateSoftware doesn't use enums for whatever reason, instead he uses raw integer values with hand comments (and allegedly an Excel doc) on what is what, which is one of the reasons behind his awful code, which in turn lead to him not being able to ship his game.

[–] innermeerkat@jlai.lu 1 points 2 minutes ago

Roaches can’t enumerate

[–] Staff@piefed.world 2 points 53 minutes ago

Is that the guy?

[–] RustyNova@lemmy.world -5 points 55 minutes ago (4 children)

TBF enums in any language other than rust are bad.

[–] copygirl@lemmy.blahaj.zone 9 points 48 minutes ago

But enumerators (aka. iterators) typically have nothing to do with enums, no?

[–] Simulation6@sopuli.xyz 2 points 7 minutes ago

They are just named integers. The compiler takes care of all that.

[–] Endmaker@ani.social 2 points 52 minutes ago (1 children)
[–] ZILtoid1991@lemmy.world 2 points 41 minutes ago (1 children)

Enums in Rust are spicier unions, and Rust boosters like to paint it as the perfect way to do it, because it's the best language ever, with no faults. If you disagree, they'll try to frame you as a Lunduke fan and a bigot.

[–] Johanno@feddit.org 1 points 25 minutes ago (1 children)

Iffind rust interesting but I don't use it enough to know anything deep about it.

All I know is that I am not made for c++.

Hell I can't keep track of pointers and scopes. And who the hell made templates?

[–] ZILtoid1991@lemmy.world 1 points 19 minutes ago

Templates outside of D are a mess, and the reason why metaprogramming has a bad name. Templates inside D are easy to use, and its attempt at it is something more language should copy.

[–] nailbar@sopuli.xyz 2 points 52 minutes ago

Glances nervously at my own code using more and more enums now-a-days.