why those chinese indent code so differently?

Posted by winston on Stack Overflow See other posts from Stack Overflow or by winston
Published on 2010-04-28T07:36:26Z Indexed on 2010/04/28 7:43 UTC
Read the original article Hit count: 301

currently i am working with some programmer from shanghai i notice they have some coding indentation like these:

if(1==1 && 2==2)
{
 a = 3;
}
else
{
 b = 4;
}

however i am accustomed to:

if (1==1 && 2==2) {
 a = 3;
}
else {
 b = 4;
}

what do you think? how could i get rid of different coding styles within a single program file?

© Stack Overflow or respective owner

Related posts about code-review

Related posts about coding-style