[Python-Dev] "with" use case: replacing a file
Phillip J. Eby
pje at telecommunity.com
Fri May 13 16:08:23 CEST 2005
At 07:23 PM 5/13/2005 +1000, Nick Coghlan wrote:
>Guido van Rossum wrote:
> >>P.S. The points regarding non-local flow control in Joel Spolsky's
> latest Joel
> >>on Software article (especially the links at the end) may have had
> something to
> >>do with my change of heart. . .
> >
> >
> > I'm a big fan of Joel. Care to share the specific URL for the article
> > you're referring to?
> >
>
>Sorry about that (I was in a hurry this morning). It was here:
>http://www.joelonsoftware.com/articles/Wrong.html
"Wrong" is an excellent title for that article; it's completely wrongheaded
about exceptions. :) Great basic idea (make wrong code look wrong), but
for all practical purposes the actual specific advice in the article is
only meaningful for C, where you can't create real types and there are no
exceptions. In Python, there are *much* saner solutions to his strawman
problems.
More information about the Python-Dev
mailing list