Version française
Home     About     Download     Resources     Contact us    
Browse thread
Today's inflamatory opinion: exceptions are bad
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: malc <av1474@c...>
Subject: Re: [Caml-list] Today's inflamatory opinion: exceptions are bad
On Sun, 10 Dec 2006, malc wrote:

> On Sat, 9 Dec 2006, Brian Hurt wrote:
>
>> 
>> I think I've come to the conclusion that exceptions are bad.
>> 
>> In Ocaml, they're useless in many cases, and in most cases wrong. Avoiding 
>> them generally makes for better code.  There are two vague types of 
>> exceptions- those the program can, and probably should- handle, and those 
>> that the program can't, and probably should even try to, handle.
>>

[..snip..]

And also there is `new' and, to the best of my knowlege, it's not
possible to return a `class option' should one want to dwelve into
O of Caml.

--
vale