<br><br><div class="gmail_quote">On Tue, Feb 15, 2011 at 2:12 PM, Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2011/2/15 Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>>:<br>
<div class="im">><br>
><br>
> On Tue, Feb 15, 2011 at 1:50 PM, Nicolas Cellier<br>
> <<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>> wrote:<br>
>><br>
>> I'm just wondering: does a Metaclass have a category ?<br>
>> on one hand, plenty of #category senders are protected with<br>
>> #theNonMetaClass and we could do the same<br>
>> on the other hand, we could just simplify lot of other code with this<br>
>> conveniency...<br>
><br>
> I don't know about you but I'm forever writing scripts where I want<br>
> metaclass to implement category. This addition is really useful IMO.<br>
><br>
<br>
</div>I don't, that's why I ask :)<br>
If convenient enough we can generalize it and simplify code further indeed.<br>
It's true that spreading #theNonMetaClass looks more like small-pox<br>
than small-talk.<br></blockquote><div><br></div><div>:) exactly. which sadist came up with that particular case also? I find the capital C most unintuitive given Metaclass.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
Nicolas<br>
</font><div><div></div><div class="h5"><br>
>><br>
>> Nicolas<br>
>><br>
>> 2011/2/15 <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>>:<br>
>> > A new version of Kernel was added to project The Inbox:<br>
>> > <a href="http://source.squeak.org/inbox/Kernel-fbs.546.mcz" target="_blank">http://source.squeak.org/inbox/Kernel-fbs.546.mcz</a><br>
>> ><br>
>> > ==================== Summary ====================<br>
>> ><br>
>> > Name: Kernel-fbs.546<br>
>> > Author: fbs<br>
>> > Time: 15 February 2011, 4:04:05.286 pm<br>
>> > UUID: 89f8153f-e938-c742-9f8b-002d8e55612c<br>
>> > Ancestors: Kernel-nice.545<br>
>> ><br>
>> > Allow one to declare a new class when one refers to the<br>
>> > as-yet-undeclared class in a class-side method.<br>
>> ><br>
>> > (<a href="http://bugs.squeak.org/view.php?id=7606" target="_blank">http://bugs.squeak.org/view.php?id=7606</a>)<br>
>> ><br>
>> > =============== Diff against Kernel-nice.545 ===============<br>
>> ><br>
>> > Item was added:<br>
>> > + ----- Method: Metaclass>>category (in category 'organization') -----<br>
>> > + category<br>
>> > + ^ thisClass category!<br>
>> ><br>
>> ><br>
>> ><br>
>><br>
><br>
><br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br>