allowing braces around suites
Delaney, Timothy C (Timothy)
tdelaney at avaya.com
Mon Aug 30 02:54:08 CEST 2004
Igor V. Rafienko wrote:
> As a side note -- my last employer had absolutely horrible coding
> conventions. No one liked them (developers and management included).
> However, everyone had to comply, and despite an occasional nastiness,
> the bug that you illustrated could not have happened in that
> environment, because _every_ if was required to have its body within
In C/C++/Java, that's a sensible coding convention. I won't quibble that
there may have been other ones in the coding standards that were bad,
but that specific example is not.
In Python, it's a non-issue.
More information about the Python-list