[squeak-dev] [Ann] System-PasswordManager

Michael van der Gulik mikevdg at gmail.com
Mon Mar 23 20:00:09 UTC 2009


> On Sun, Mar 22, 2009 at 11:26 PM, Keith Hodges <keith_hodges at yahoo.co.uk>
> wrote:
> >
> > I have published MCPasswordManager as a separate package
> >
> > http://www.squeaksource.com/mc/System-PasswordManager
> >
> > Keith
> >
> >
> >
> 2009/3/24 Vaidotas Didžbalis <vaidasd at gmail.com>
> Thank you,
> I have question about style:
> in the code I see:
>
> boolean ifFalse:[^self error: 'Some error'].
>
> sould'nt it be like this:
>
> boolean ifFalse:[self error: 'Some error'].
>
> Since “self error:" is definitely expected to signal exception?
>
>

You can validly continue execution from an error (unlike, for example,
Java). Sometimes, I'd get an error, fix things up in the debugger and then
continue execution.

Gulik.

-- 
http://gulik.pbwiki.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090324/37fcc78d/attachment.htm


More information about the Squeak-dev mailing list