Originally posted by NickFitz
View Post
I had this discussion with somebody at a client a few years ago. I ended it by saying "Fine, you do it that way; I'll do it the right way."
You'd really prefer something hideous looking such as:
Code:
for(i = 0; i < 10; i++) { if(i % 2 == 0) { doSomething(i); doSomethingelse(i); etc; }}
Code:
for (i = 0; i < 10; i++) { if (i % 2 == 0) { doSomething(i); doSomethingelse(i); etc; } }
Comment