this post was submitted on 17 Jun 2023
154 points (98.1% liked)

Programmer Humor

20815 readers
1106 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
[โ€“] ZILtoid1991@kbin.social 10 points 2 years ago* (last edited 2 years ago) (7 children)
int mostCursedIndentation (const int someVal) @safe {
{}{}if (someVal < 0) {
{}{}{}{}throw new Exception ("Value cannot be negative!");
{}{}}
{}{}return someVal * 5 - 3;
}

[โ€“] gnuswann@programming.dev 2 points 2 years ago

This is the worst

load more comments (6 replies)