[Cuis-dev] Renaming several fundamental Morph classes

Hilaire Fernandes hilaire at drgeo.eu
Tue Dec 28 03:04:41 PST 2021


Le 27/12/2021 à 14:40, Hernan Wilkinson via Cuis-dev a écrit :
>  I think it would be great to avoid using the word Morph as a suffix, 
> if we compare that hierarchy with Collection, we do not see any of its 
> subclasses (but a few) with Collection as a suffix. Array is Array and 
> not ArrayCollection, Dictionary is not DictionaryCollection, etc. When 
> having to add a suffix to subclasses' names I see it as a lack of a 
> metaphor or an analogy with something "real"(*) that would help to 
> select better names. I think that having a metaphor or analogy would 
> help a lot to name these classes. I'm not sure which metaphor to use 
> but maybe we can start a new thread to look for it :-)

I can't agree less with you. How will it looks like without Morph suffix?

Morph
     Moveable/Placed
     Boxed/Frame/Box
     PasteUp
     World
     Pluggable


This will make a lot of change though, and break a lot. Namespace will 
be a nice to have. May be too much changes to catch at once.

-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu



More information about the Cuis-dev mailing list