Version française
Home     About     Download     Resources     Contact us    
Browse thread
[OSR] Exceptionless error management
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: michaelgrunewald@y...
Subject: Re: [Caml-list] [OSR] Exceptionless error management
Bünzli Daniel <daniel.buenzli@erratique.ch> writes:

>> time jot 1000000 | ./in.native
>
> real	0m4.814s
> user	0m4.371s
> sys	0m0.218s

You are timing `jot' aren't you?

>> time jot 1000000 | ./inb.native
>
> real	0m4.790s
> user	0m4.355s
> sys	0m0.217s

The recommendation you proposed would be even more useful if it
emphasizes when ``Exceptionless error management'' is adequate. You
can rewrite last sentence of first paragraph

  ``The following points suggest that raising exceptions to signal
    unexceptional error cases is not a good idea.''

like this:

  ``Let's enumerate situations where raising exceptions to signal
    unexceptional error cases is not a good idea.''

Maybe would you also suppress the `bad' in the first sentence, since
it is `bad' with regard to the situations you are enumerating.
-- 
Michaël