Seen Horrifying Code Today

Apr 23, 2025 6:38 PM

typeof

Views

863

Likes

27

Dislikes

4

programmer_jokes

lol

programmerhumor

humor

fuuny

I use regexes (regii?) as a Turing machine, gives me job security

3 months ago | Likes 1 Dislikes 0

the plural of "regex" is "regrets"

3 months ago | Likes 3 Dislikes 0

All I can think is, "Gawd, I hope that wasn't my code..."

3 months ago | Likes 12 Dislikes 0

... and now it can't be unseen.

3 months ago | Likes 7 Dislikes 0

What wouldn’t you just go to a case statement if it was that many?

3 months ago | Likes 1 Dislikes 0

better yet, a ternary one-liner with plenty of obscure casts

3 months ago | Likes 2 Dislikes 0

If you're coding for "style points" you're doing it wrong.

And no, I don't give a damn if you "saved x lines of code" if what you made is less legible and harder to support.

3 months ago | Likes 5 Dislikes 0

But what if it's more lines AND harder to support?

3 months ago | Likes 1 Dislikes 0

I just put those funky beats in that Al Gore can't resist.

3 months ago | Likes 4 Dislikes 0