Skip to main content
Post Made Community Wiki by Robert CartainoStaffMod
Source Link
RobertPitt
  • 1.2k
  • 6
  • 4

Code should be formatted to a certain standard.

If I am helping someone improve there programming the last thing I want to do is format it myself.

class MyClass
{
public function somemethodwithnameconvention(){
while(;;){
if(true){break
}
}
}
}

And what i would want to expect is:

class MyClass
{
    public function somemethodwithnameconvention()
    {
        while(;;)
        {
             if(true)
             {
                 break;
             }
        }
    }
}