Thanks laurent Stef Begin forwarded message:
From: laurent laffont <laurent.laffont@gmail.com> Date: March 3, 2010 10:09:32 PM GMT+01:00 To: Stéphane Ducasse <stephane.ducasse@inria.fr> Subject: Re: [Pharo-project] Pharo by Example vol 2: new chapter available
Some notes:
Page 1: The basic idea behing exception .... I would expect a schema to show the workflow.
Page 8: When an exception is signaled, the exception handling mechanism ....I've read it 3 times (for something finally quite simple), maybe it needs a sequence diagram or reformulation.
Section 1.15: How exceptions are implemented. I had to read several times to understand, lot of informations to handle at once.
Page 27 (bottom): For example, in method 1.1 ... specify "on page 19" or put the snippet again so we can easily compare with method 1.2.
I like the "real code" examples. The "How..." sections too.
When not to use Exceptions: not to "hide errors". I have too many times seen try ... catch ... to hide errors to the users.
Maybe add a "When to use Exceptions" section, reminding the "Crash early" principle.
Laurent Laffont
On Tue, Mar 2, 2010 at 2:26 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote: Hi guys
We just released a new chapter for Pharo by Example Vol.2 on Exceptions http://pharobyexample.org/
Let us know what you think.
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project