3 ms·
"I'd kill for relatively simple CPP-ish textual macros, just to cut down on boilerplate code." If you're getting enough boilerplate writing Python to want some
by j_baker 17y ago
"I'd kill for relatively simple CPP-ish textual macros, just to cut down on boilerplate code."
If you're getting enough boilerplate writing Python to want something horrendously evil like C++ macros, you're doing something wrong. Not that there isn't a valid argument for macros for Python in general.
To be clear though, Guido has said that he'd be open to the concept of Macros if someone were to come up with a good proposal for them. As far as I know, no one has stepped up the plate though.