[Pharo-project] Optimisation / Simplification ...

Dennis Schetinin chaetal at gmail.com
Thu Jan 12 10:00:56 EST 2012


http://live.exept.de/doc/online/english/programming/humor.html :)

2012/1/10 James Ladd <james_ladd at hotmail.com>

>
> While implementing Redline Smalltalk it occurred to me that methods and
> blocks
> are the same things, making the use of blocks to represent methods a
> possible
> optimisation or simplification to the internal of any Smalltalk
> implementation.
>
> For example,
>
> at: key put: value
>   <statements here>
>
> Is not that different to:
>
> at:put: [ :key :value | <statements here> ]
>
> Just saying.
>



-- 
Dennis Schetinin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20120112/3b08474a/attachment-0001.html>


More information about the Pharo-dev mailing list