Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] GC and file descriptors
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-20 (09:42)
From: Benjamin Geer <ben@s...>
Subject: Re: [Caml-list] GC and file descriptors
Nicolas Cannasse wrote:
>>When a
>>designer establishes a sensible policy regarding exceptions, checked
>>exceptions make it possible to be reasonably confident that (nearly) all
>>error conditions are handled in a sane manner.
> It can work in an opposite way.
> I've seen developpers (professional) that couldn't break the specification
> by adding an throws statement so they were simply catching .... and ignoring
> the exceptions !

Note what I said above about the designer establishing 'a sensible 
policy'.  In my team, catching and ignoring exceptions is punishable by 
the death penalty. :)  If an interface doesn't allow you to handle an 
exception properly, it needs to be changed.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: