Indentation for code readability

DE devrim.erdem at gmail.com
Fri Mar 30 11:38:03 EDT 2007


>
> > The curly brackets have no functional meaning...
>
> "Curly brackets have no functional meaning"?  Surely you must be
> thinking of C, but not C++.  Some of the most powerful idioms (idia?)
> of C++ make use of functionality that runs when a closing bracket
> causes local variables to fall out of scope.  In fact, this technique
> is crucial to writing exception-safe code.

The curly brackets have no functional meaning in the scope of the
example I have written in my original mail. I usually ask C++ memory
management issues in in the relevant newsgroup :)




More information about the Python-list mailing list