Please translate this easy snip of C++ to Python

Erik Max Francis max at
Sun Feb 4 21:44:12 CET 2001

Fredrik Lundh wrote:

> (iirc, bjarne thinks that real C++ programmers shouldn't
> use the preprocessor at all, but what does he know...)

C++ features such as namespaces, templates, and const variables acting
as true constants generally render it unnecessary to use the
preprocessor to accomplish most tasks it was traditionally used for. 
It's generally considered bad style to make excessive use of the
preprocessor in Standard C++.

 Erik Max Francis / max at /
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ When one is in love, a cliff becomes a meadow.
\__/ (an Ethiopian saying)
    Official Buh rules /
 The official rules to the betting card game, Buh.

More information about the Python-list mailing list