[Pharo-project] Optimisation / Simplification ...

James Ladd james_ladd at hotmail.com
Tue Jan 10 01:52:41 CET 2012



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.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20120110/da2e0087/attachment.htm>


More information about the Pharo-project mailing list