Oct. 11, 2010
1:55 p.m.
On Mon, 11 Oct 2010, Stéphane Ducasse wrote:
That "hack" is really cool IMO. The code is easily understood by anyone:
#(4 1 3 5 2) sort: #<=.
yes in Moose people are using that a lot for scripting. Now the problem is that as soon as you need more you have to get a block.
Why is that a problem? You can use the symbol for simple cases and write blocks for the complicated ones. Levente
Stef _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project