[petsc-dev] windows fixes.

Jed Brown jedbrown at mcs.anl.gov
Fri Jun 28 12:49:12 CDT 2013


Barry Smith <bsmith at mcs.anl.gov> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130628/249b839a/attachment.sig>


More information about the petsc-dev mailing list