[Cuis-dev] TextModelMoprh --> TextEnryMorph

Juan Vuletich juan at cuis.st
Mon Apr 14 11:16:46 PDT 2025


On 4/13/2025 8:46 AM, Luciano Notarfrancesco via Cuis-dev wrote:
> Hi Hilaire,
> I haven’t used TextModelMorph much, but I think I agree that the name 
> is not very good. I while ago I was wondering why it isn’t TextMorph 
> or PluggableTextMorph, following the naming pattern of other 
> subclasses of PluggableMorph. Other examples of names in that 
> hierarchy that feel odd to me are PluggableListMorphByItem and 
> PluggableListMorphOfMany.
>
>
> On Sun, Apr 13, 2025 at 16:25 Hilaire Fernandes via Cuis-dev 
> <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
>
>     Hi,
>
>     Some observation.
>
>     I know renaming this class will be a pain but this name is really
>     really confusing because this is not a Model but a View (in MVC
>     pattern at least)
>
>     I am wondering why it is called Model?
>
>     TextEntryMorph will be such a more meaningful and less confusing name.
>
>     We are documenting it, and it really adds a lot of confusion, and
>     I can imagine how confusing it can be for newbie.
>
>
>     -- 
>     http://mamot.fr/@drgeo
>
>     -- 
>     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
>

Hi Folks,

I agree. PluggableTextMorph sounds reasonable to me.

WRT PluggableListMorphByItem and PluggableListMorphOfMany, I also agree 
those are bad names. I'm not even sure if these classes are really 
needed, though.

Thanks

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250414/8a65339c/attachment.htm>


More information about the Cuis-dev mailing list