On 5 Jan 2009, at 17:03, Günther Noack wrote: > > Hi! > > On 5 Jan 2009, at 12:10, David Chisnall wrote: >> (non-local >> returns are usually bad programming style anyway). > > I'm not so sure about that. Considering guard clauses, isn't it even > rather wide-spread? But maybe I'm overlooking some obvious Smalltalk > idiom there?
Yup, it makes sense for guard clauses. > A made-up example: > Integer>>factorial > (self < 0) ifTrue: [ ^0 ]. > "long and complicated computation otherwise" The good news is, I found the bug that was causing it. I had two variables with the same name in my ULEB128 parser. It's not quite working yet, but it is now unwinding the stack correctly, so it should be working soon, hopefully in time for 0.4.1... David _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
