[Cuis-dev] Renaming several fundamental Morph classes

Juan Vuletich JuanVuletich at zoho.com
Mon Dec 27 10:52:54 PST 2021


On 12/27/2021 10:40 AM, Hernan Wilkinson via Cuis-dev wrote:
> Hi everyone!
>  I hope you had a great weekend... I did it because I haven't used the 
> computer since Friday!! :-)
>
>  I don't really have too much to add... I think it is great to get rid 
> of names like Kernel, Special, etc. because their meaning is very 
> confusing and ambiguous.
>  Regarding the specific names, sadly I'm not an expert in Morph so I 
> do not know what makes any class special, the behavior they provide to 
> make them distinguishable, etc.
>  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 :-)

Keep the discussion going!!!
Thanks,

>
> Cheers!
> Hernan
>  (*) real is not the right word, I mean touchable, visible, etc.
>
> On Mon, Dec 27, 2021 at 8:20 AM Andres Valloud via Cuis-dev 
> <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
>
>     Food for thought...
>
>     1.  Other choices for LocatedMorph.
>
>             PlacedMorph
>
>     2.  Other choices for RectMorph and friends.
>
>             TileMorph
>             BorderedTileMorph
>             FramedTileMorph
>
>             AreaMorph etc...
>             RegionMorph etc...
>
>     3.  Other choices for PasteUpMorph
>
>             CollageMorph
>
>
>     Generally speaking, for things that will be talked about a lot, fewer
>     syllables are better.  For instance, FramedTileMorph has just 3, and
>     PlacedMorph has just 2.
>
>     Taking things into a completely different direction... keep in
>     mind the
>     following terms.
>
>             LocatedMorph -> Amorph, Polymorph
>             RectMorph -> Allomorph, Anamorph, Pseudomorph
>             BorderedRectMorph -> Perimorph
>             ? -> Neomorph, Isomorph
>
>     Andres.
>
>     On 12/26/21 11:30 AM, Juan Vuletich via Cuis-dev wrote:
>     > This is my current suggestion, that tries to follow consensus:
>     >
>     > Morph
>     >      LocatedMorph (location) [today’s MovableMorph]
>     >          RectMorph (extent, color) [to replace KernelMorph and
>     part of
>     > WidgetMorph]
>     >              BorderedRectMorph (borderWidth, borderColor) [rest of
>     > today’s WidgetMorph]
>     >              PasteUpMorph [no change]
>     >                  WorldMorph [no change]
>     >              PluggableMorph [no change]
>     >
>     > Please keep the discussion going!
>     -- 
>     Cuis-dev mailing list
>     Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>     https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
>
> -- 
> <https://10pines.com/>
>
>
>   Hernán Wilkinson
>
>
>     Software Developer & Coach
>
> Alem 896, Floor 6, Buenos Aires, Argentina
>
> +54 11 6091 3125
>
> @HernanWilkinson
>


-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211227/4de74606/attachment.htm>


More information about the Cuis-dev mailing list