proper use of braces in Python

Peter Maas fpetermaas at netscape.net
Wed Mar 31 05:13:08 EST 2004


Michael wrote:
>>    int main (void)
>>    {
>>        if (true)
>>        {
>>        }
>>
>>        return 0;
>>    }
>>
>> There is no other way.
>>  
>>
> No way, that wastes an entire line of code with a single brace!

Why not? It's a cheap way to increase your LOC/month power. :)

Mit freundlichen Gruessen,

Peter Maas

-- 
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
Tel +49-241-93878-0 Fax +49-241-93878-20 eMail peter.maas at mplusr.de
-------------------------------------------------------------------



More information about the Python-list mailing list