[squeak-dev] The Inbox: Kernel-fbs.546.mcz

Eliot Miranda eliot.miranda at gmail.com
Tue Feb 15 22:40:39 UTC 2011


On Tue, Feb 15, 2011 at 2:12 PM, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:

> 2011/2/15 Eliot Miranda <eliot.miranda at gmail.com>:
> >
> >
> > On Tue, Feb 15, 2011 at 1:50 PM, Nicolas Cellier
> > <nicolas.cellier.aka.nice at gmail.com> wrote:
> >>
> >> I'm just wondering: does a Metaclass have a category ?
> >> on one hand, plenty of #category senders are protected with
> >> #theNonMetaClass and we could do the same
> >> on the other hand, we could just simplify lot of other code with this
> >> conveniency...
> >
> > I don't know about you but I'm forever writing scripts where I want
> > metaclass to implement category.  This addition is really useful IMO.
> >
>
> I don't, that's why I ask :)
> If convenient enough we can generalize it and simplify code further indeed.
> It's true that spreading #theNonMetaClass looks more like small-pox
> than small-talk.
>

:)   exactly.  which sadist came up with that particular case also?  I find
the capital C most unintuitive given Metaclass.


>
> Nicolas
>
> >>
> >> Nicolas
> >>
> >> 2011/2/15  <commits at source.squeak.org>:
> >> > A new version of Kernel was added to project The Inbox:
> >> > http://source.squeak.org/inbox/Kernel-fbs.546.mcz
> >> >
> >> > ==================== Summary ====================
> >> >
> >> > Name: Kernel-fbs.546
> >> > Author: fbs
> >> > Time: 15 February 2011, 4:04:05.286 pm
> >> > UUID: 89f8153f-e938-c742-9f8b-002d8e55612c
> >> > Ancestors: Kernel-nice.545
> >> >
> >> > Allow one to declare a new class when one refers to the
> >> > as-yet-undeclared class in a class-side method.
> >> >
> >> > (http://bugs.squeak.org/view.php?id=7606)
> >> >
> >> > =============== Diff against Kernel-nice.545 ===============
> >> >
> >> > Item was added:
> >> > + ----- Method: Metaclass>>category (in category 'organization') -----
> >> > + category
> >> > +       ^ thisClass category!
> >> >
> >> >
> >> >
> >>
> >
> >
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20110215/f185835d/attachment.htm


More information about the Squeak-dev mailing list