1 point

This is horrifying, this is straight up blaspheny

permalink
report
reply
0 points

For real. OP needs to give up on this ridiculous notion of tabbed whitespace and learn to use real, monospaced indentation. How wide is a tab? OP couldn’t tell you because tabs are inherently dishonest – a lie concocted by big keyboard to poison the unwashed programmer masses.

permalink
report
parent
reply
0 points

Tabs are one tab character wide, it’s perfect

permalink
report
parent
reply
1 point

You’re one character wide

permalink
report
parent
reply
0 points
int mostCursedIndentation (const int someVal) @safe {
{}{}if (someVal < 0) {
{}{}{}{}throw new Exception ("Value cannot be negative!");
{}{}}
{}{}return someVal * 5 - 3;
}

permalink
report
reply
1 point

Can you start randomly nest them too?

{{}}{}int foo = bar

permalink
report
parent
reply
1 point

You made it even worse!

permalink
report
parent
reply
1 point

Amateur! I use coments so it looks like this:

function main(){ /tab/if(fish==2){ /tab//tab/console.log(“i need help”); /tab/} }

permalink
report
reply
0 points

…this…this can’t be real…no one is that much of a sadist are they?

This whole thread is what nightmares are made of.

permalink
report
reply
1 point

So at my work we’ve implemented a automatic code formatter. Instead of having discussions about the process of changing the configuration file we just put it up on GitHub. I think I might have found a fun April fool’s prank.

permalink
report
parent
reply
1 point
*

3 spaces is best because if the universe is chaos then everything in it should reflect that.

permalink
report
reply
1 point

I’m more about increasing spaces exponentially to really highlight how important each line is

public boolean function() {
 if (method()) {
   if (otherMethod()) {
       for (Object o : list()) {
               if (o.isAlive()) {
                               return false;
               }
       }
   }
 }
 return true;
}

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 5.3K

    Monthly active users

  • 1K

    Posts

  • 38K

    Comments