this post was submitted on 10 Oct 2025
636 points (99.2% liked)

Programmer Humor

26846 readers
1375 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
[โ€“] myotheraccount@lemmy.world 2 points 1 day ago (1 children)

It could be Typescript or Rust. But probably a lot of oter languages have enums expressed like this too. Likely not C, because no semicolon, and no prefix on the variants.

Nevermind, i just spotted the semicolons :)