Article of interest: Python pros/cons for the enterprise

Matthew Woodcraft mattheww at chiark.greenend.org.uk
Tue Feb 26 16:57:34 EST 2008


Nicola Musatti  <nicola.musatti at gmail.com> wrote:
> Sebastian Kaliszewski <s.usun... at informa.i.to.tez.pl> wrote:
>> 3. You can't handle clean-up errors in reasonable way in C++ish approach, so
>> anything more complex should not by handled that way anyway.

> So it's okay for a Python mechanism to deal with 95% of the cases,
> but not for a C++ one? At least in C++ resource management only
> becomes more complicated if you need more control.

I don't think specifying how your program will respond to errors is
something you can avoid 95% of the time, or anywhere close to that.

-M-



More information about the Python-list mailing list