Exception as the primary error handling mechanism?

Chris Rebert clp2 at rebertia.com
Tue Jan 5 10:19:00 CET 2010


<much snippage>
On Tue, Jan 5, 2010 at 1:07 AM, r0g <aioe.org at technicalbloke.com> wrote:
> Lie Ryan wrote:
>> I have been looking at Haskell recently and the way the pure functional
>> language handled exceptions and I/O gives me a new distinct "insight"
>> that exceptions can be thought of as a special return value that is
>> implicitly wrapped and unwrapped up the call stack until it is
>> explicitly handled.
>
> Yes there's some very interesting paradigms coming out of functional
> programming but, unless you're a maths major, functional languages are a
> long way off being productivity tools! Elegant: yes, provable: maybe,
> practical for everyday coding: not by a long shot!

Methinks the authors of Real World Haskell (excellent read btw) have a
bone to pick with you.

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list