Re: [Pharo-project] Compiler pedantic about ifNotNil: argument
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. Stef
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
participants (2)
-
Levente Uzonyi -
Stéphane Ducasse