[squeak-dev] Re: [Newbies] Two questions about Smalltalk language
design
Stefan Marr
smalltalk at stefan-marr.de
Fri Jan 4 15:52:46 UTC 2013
Hi:
On 03 Jan 2013, at 13:37, Andreas.Raab wrote:
> * It prevents implicitly leaking authority. This of course is only relevant
> for people who care about security aspects but in this case returning self
> is really the wrong choice (so is evaluating the last statement of blocks to
> be the block return value; block return should be explicit too).
Then you would need second kind of return operator to distinguish between value returns and non-local returns from methods, no?
Just curious.
Best regards
Stefan
--
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax: +32 2 629 3525
More information about the Squeak-dev
mailing list
|