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
Thierry
________________________________________
De : Pharo-dev [[email protected]] de la part de Esteban
Lorenzano [[email protected]]
Envoyé : lundi 26 mai 2014 21:20
À : Pharo Development List
Objet : [Pharo-dev] is ClassOrganization>>#categories right?
Hi,
I wonder is current implementation of that method is good: right now, it
answers all categories, including virtual ones (—all—).
A lot of things are made in that assumption, but I wonder if is not better to
answer just real categories and to create a new method called #allCategories to
answer the reals and the virtuals.
Also, I wonder if wouldn’t be better to just deprecate #categories and use the
correct abstraction: #protocols.
any opinions?
Esteban