why no ++?

Anders Arnholm Anders at Arnholm.nu
Tue Aug 14 07:34:08 EDT 2001


Tim Rowe <digitig at cix.co.uk> skriver:
> If min is a function and b is an alias for a then it is incremented twice 
> and returned. Probably a bug.
> If min is a preprocessor macro and b is an alias for a then it is 
> incremented twice, returned, then incremented again. Sheesh!

In short, preprocessor macros are dangerous. Still I haven't  found out how cpp
works with python. But I'll get there and then there are ALOOT of dangeros
constructs.

/ Balp
-- 
http://anders.arnholm.nu/			     Keep on Balping



More information about the Python-list mailing list