10

Thank God for Ctrl+Alt+L in PHPStorm...one guy from our company seemed to like this code style once upon a time:

if ($variable > 0)

{

// stuff

}

else

{

// other stuff

}

Comments
  • 1
    Just to be clear, almost everything is written in this 2k line file like this. For example arrays:

    $array = [

    'a' => 'value',

    'b' => 'other value'

    ];
  • 0
    Ctrl+shift+f in Eclipses
  • 2
    This is why I believe people should learn an indentation based language first or just read the god damn PSRs.
  • 7
    Our teacher be like:

    if(shit)
    { int i = 2; while (
    1)
    snd_helppls();

    }
  • 1
    @b3b3 stop it, please...
  • 1
    Read the god damn PSRs as @C0D4 mentioned.
Add Comment