________________________________________
De : Pharo-dev [[email protected]] de la part de Marcus Denker 
[[email protected]]
Envoyé : mardi 27 mai 2014 09:58
À : Pharo Development List
Objet : Re: [Pharo-dev] is ClassOrganization>>#categories right?

On 27 May 2014, at 01:57, Ben Coman <[email protected]> wrote:

> GOUBIER Thierry wrote:
>> In my own code, I allways use ClassOrganization>>#realCategories to avoid 
>> getting the --all-- category. I consider the --all-- category to be a GUI 
>> artifact, not a class organization concept.
>>
>> I'd prefer a #protocols (without the --all-- category, of course :)) so ok 
>> for deprecating #categories.
>>
> +1 for #protocols

returning protocol objects, not symbols…
Up to you, just that it is consistent... protocol objects everywhere, or 
symbols everywhere. #categories for symbols, #protocols for protocol objects 
(and #addCategory: for symbols, #addProtocol: for protocols, and so on...).

A subject for the Pharo Sprint planned by Serge in Paris in two weeks time ?

Thierry
Marcus


Reply via email to