Seen Horrifying Code Today

Apr 23, 2025 6:38 PM

typeof

Views

867

Likes

27

Dislikes

4

programmer_jokes

lol

programmerhumor

humor

fuuny

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

4 months ago | Likes 7 Dislikes 0

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

4 months ago | Likes 4 Dislikes 0

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

4 months ago | Likes 1 Dislikes 0

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

4 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.

4 months ago | Likes 5 Dislikes 0

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

4 months ago | Likes 1 Dislikes 0

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

4 months ago | Likes 1 Dislikes 0

the plural of "regex" is "regrets"

4 months ago | Likes 3 Dislikes 0

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

4 months ago | Likes 12 Dislikes 0