Multiple Returns, was Re: Common Lisp style macros inSmalltal k?

Stewart MacLean stewart.maclean at nzhis.govt.nz
Thu Jan 20 03:03:18 UTC 2000


Stephen Rudlof wrote: 
 
> You pay another price for avoiding the overhead of extra classes:
> 
> If you use OpenObject in different contexts as different 
> object you get
> more and more getters/selectors all belonging to just this 
> one class...

Absolutely, thats why it's called Open :)

Seriously though, for the original intent (multiple return values) we're
probably just interested in using a short lived aggregate of values whilst
making the code readable.

Cheers,

Stewart 





More information about the Squeak-dev mailing list