21

15 minutes

if ( very long condition here );
{ Stuff here was correct }

Error!

Shit!...

Testing all the 'stuff here'...

oh. !!

That's where the missing ones go to have fun.

Comments
  • 1
    Wow that's a new one. Almost looks like a habit from writing function/method calls, putting a semicolon after the closing parenthesis.
  • 0
    Your (very long condition) makes me sad :(
  • 2
    And that's why opening curly brackets should be on the same line than conditions 😂
  • 2
    @Eariel Yay! Someone else who does

    function foo() {
    //stuff
    }

    and

    if (stuff) {
    //whatever
    }

    Because imo there is just something satisfying about how the above looks, and the following is ugly AF:

    function bar()
    {
    //and what not
    }

    if (derp)
    {
    //wait wtf
    }
  • 1
    I prefer the ugly one :-p
Add Comment