Re: [Pharo-dev] can someone explain me this?

2015-05-22 Thread Alejandro Infante
If you remove the Traits you get exactly the double (at least in my moose image). As far as I remember, Traits are not subclasses of Objects and they do not have a metaclass for each Trait. Cheers, Alejandro > On May 22, 2015, at 12:39 PM, Eliot Miranda wrote: > > Oops, my math was wrong and

Re: [Pharo-dev] can someone explain me this?

2015-05-22 Thread Eliot Miranda
Oops, my math was wrong and so I got it wrong way round. But you know what I mean... Eliot (phone) On May 22, 2015, at 8:37 AM, Eliot Miranda wrote: > Hi All, > > On May 21, 2015, at 1:14 PM, Esteban Lorenzano wrote: > >> Smalltalk allClassesAndTraits size. "5057" >> Object withAllSubclass

Re: [Pharo-dev] can someone explain me this?

2015-05-22 Thread Eliot Miranda
Hi All, On May 21, 2015, at 1:14 PM, Esteban Lorenzano wrote: > Smalltalk allClassesAndTraits size. "5057" > Object withAllSubclasses size. “9900" As others have said, meta classes account for many of these, but I would have expect something closer to twice as many. What does this tell you?

Re: [Pharo-dev] can someone explain me this?

2015-05-21 Thread Esteban Lorenzano
> On 21 May 2015, at 23:52, Marcus Denker wrote: > > >> On 21 May 2015, at 22:14, Esteban Lorenzano wrote: >> >> Smalltalk allClassesAndTraits size. "5057" >> Object withAllSubclasses size. “9900" >> >> I really do not understand :) >> > > Metaclasses. For every X there is "X class” which

Re: [Pharo-dev] can someone explain me this?

2015-05-21 Thread Norbert Hartl
> Am 21.05.2015 um 22:14 schrieb Esteban Lorenzano : > > Smalltalk allClassesAndTraits size. "5057" > Object withAllSubclasses size. “9900" > > I really do not understand :) And I enjoy those times that you do not understand something. Makes me feel closer to you :P Norbert

Re: [Pharo-dev] can someone explain me this?

2015-05-21 Thread Marcus Denker
> On 21 May 2015, at 22:14, Esteban Lorenzano wrote: > > Smalltalk allClassesAndTraits size. "5057" > Object withAllSubclasses size. “9900" > > I really do not understand :) > Metaclasses. For every X there is "X class” which is (eventually) a subclass of Object, too. Marcus

Re: [Pharo-dev] can someone explain me this?

2015-05-21 Thread Nicolas Cellier
You should try something like (Object withAllSubclasses reject: #isMeta) size... Also maybe start with ProtoObject... In Squeak, I have ((Smalltalk allClassesAndTraits reject: #isTrait) difference: (ProtoObject withAllSubclasses reject: #isMeta)) size = 0 2015-05-21 22:14 GMT+02:00 Esteban Lorenz

[Pharo-dev] can someone explain me this?

2015-05-21 Thread Esteban Lorenzano
Smalltalk allClassesAndTraits size. "5057" Object withAllSubclasses size. “9900" I really do not understand :) Esteban