this post was submitted on 17 Jun 2023
162 points (100.0% liked)

Programmer Humor

421 readers
3 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] ZILtoid1991@kbin.social 10 points 1 year ago* (last edited 1 year 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 4 points 1 year ago

This is the worst

load more comments (6 replies)