Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualSimonForsman

Posted 15 April 2013 - 02:43 PM

personally i prefer the second approach, i don't really see the point in putting the initial brace on its own line when the indentation makes everything clear anyway. (Python does just fine without any braces at all, in-fact i wouldn't mind if C++ ditched the braces completely in the next version of the standard and switched to using indentation to set the scope)

#1SimonForsman

Posted 15 April 2013 - 02:41 PM

personally i prefer the second approach, i don't really see the point in putting the initial brace on its own line when the indentation makes everything clear anyway. (Python does just fine without any braces at all, in-fact i wouldn't mind if C++ ditched the braces completely in the next version of the standard and switched to using indentation to set the scope)

PARTNERS