[Cuis-dev] Morph method prefixes

Mark Volkmann r.mark.volkmann at gmail.com
Sat Aug 24 11:22:57 PDT 2024


Is there a story behind why the following method names in the Morph class
begin with "morph"?

morphExtent
morphExtentInOwner
morphId
morphLocalBoundsForError
morphPosition
morphPosition:
morphPositionInWorld
morphPositionInWorld:

It seems like the "morph" prefix could be removed without any loss in
clarity.
There are many other methods in the Morph class whose names do not have
that prefix.

It seems uncommon for method names to begin with their class name. For
example, a Dog class might have methods like name and breed, but wouldn't
typically have methods like dogName and dogBreed.

-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240824/ab40b4b7/attachment.htm>


More information about the Cuis-dev mailing list