Barry Smith <[email protected]> writes: > Boy those decorators sure saved you a lot of code below. I cannot > imagine how anyone actually wrote code using python 2.4 without > decorators, the code must have been so long that it constantly > filled the entire filesystem and everyone's hands were so tired > from typing. Thank god for decorators!
It's not an issue of quantity of code, but readability, in the same sense that it would be confusing to name the parameters to a function after the function rather than at the top. I think the 'with' statement is a far more important feature of python-2.5.
pgpJi24V86Ncl.pgp
Description: PGP signature
