[Pharo-project] Compiler pedantic about ifNotNil: argument

Levente Uzonyi leves at elte.hu
Mon Oct 11 09:55:17 EDT 2010


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 at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


More information about the Pharo-dev mailing list