Please translate this easy snip of C++ to Python
Erik Max Francis
max at alcyone.com
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 alcyone.com / http://www.alcyone.com/max/
__ 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 / http://www.alcyone.com/max/projects/cards/buh/
The official rules to the betting card game, Buh.
More information about the Python-list