Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualsamoth

Posted 01 August 2013 - 01:10 PM

Some people get religious about the bracing style. Meh. Same with the parentheses.

 

Though, admittedly not always without a reason, if you look at my snippet above (which is a real coding horror).

 

When I was first told "we always use braces, Allman style, even for single liners" long long long ago, my thought was "Bah...". Of course I didn't do such a stupid thing outside work, because it was just too silly. Guess what made me change my mind one day. Exactly... wasting 2 hours of time on trying to figure out why the program logic wasn't correct although it just had to be good -- everything was right. Except, well, you know.


#1samoth

Posted 01 August 2013 - 01:09 PM

Some people get religious about the bracing style. Meh. Same with the parentheses.

 

Though, admittedly not always without a reason, if you look at my snippet above (which is a real coding horror).

 

When I was first told "we always use braces, Allman style, even for single liners" long long long ago, my thought was "Bah...". Of course I didn't do such a stupid thing outside work, because it was just too silly. Guess what made me change my mind one day. Exactly... wasting 2 hours of time on trying to figure out why the program logic wasn't correct although it just had to be good -- everything was right.


PARTNERS