You can search for usages of Symbol. Lots of things to learn indeed.
On Mon, Sep 19, 2016 at 12:12 PM, frankl1_miky
wrote:
> Hi,
>
> I'll like to know what is happening exactly in background when I'm using a
> symbol as in *Collection withAllSubclasses collect: #numberOfLinesOfCode*.
>
> I al
On Mon, Sep 19, 2016 at 6:12 PM, frankl1_miky
wrote:
> Hi,
>
> I'll like to know what is happening exactly in background when I'm using a
> symbol as in *Collection withAllSubclasses collect: #numberOfLinesOfCode*.
Nicolas has a good answer.
Now you could explore this yourself. First, as a refer
Collection withAllSubclasses collect: #numberOfLinesOfCode
is the equicalent to
Collection withAllSubclasses collect: [:each | each numberOfLinesOfCode ]
What happens below is that (unary) symbols are polymorphic with one
parameters blocks, i.e. they understand cull: and value:, which is
impleme
Hi,
I'll like to know what is happening exactly in background when I'm using a
symbol as in *Collection withAllSubclasses collect: #numberOfLinesOfCode*.
I also want to know the other cases where I can use symbol.
Is there any tutorial about using symbol?
Thanks
--
View this message in cont