Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: mse on June 03, 2020, 11:34:12 pm

Title: Where did the lowercase naming convention for objects come from?
Post by: mse on June 03, 2020, 11:34:12 pm
I have seen many examples of UML diagrams in multiple sources, including the UML standard and have noticed in sequence diagrams, composite structure diagrams, or even object diagrams, that the names are always abbreviated versions of the classes and always lower case. Does anyone know where this convention came from or perhaps has an idea why that was done so? Here is one example out of the SysML spec (it applies for UML as well):

https://www.omg.org/spec/SysML/1.6/PDF (https://www.omg.org/spec/SysML/1.6/PDF)

See figure D.10

Code: [Select]
pcu: PowerControlUnit
epc: ElectricalPowerController
Title: Re: Where did the lowercase naming convention for objects come from?
Post by: qwerty on June 03, 2020, 11:45:00 pm
Well, back that history. Who cares? It's a common convention (and no law). You can make your own if you are in a certain domain but in the wide world out there you would be understood better when following the agreed convention.

q.
Title: Re: Where did the lowercase naming convention for objects come from?
Post by: KP on June 04, 2020, 07:45:54 am
Somebody wrote a Wikipedia page: https://en.wikipedia.org/wiki/Naming_convention_(programming) (https://en.wikipedia.org/wiki/Naming_convention_(programming))
Title: Re: Where did the lowercase naming convention for objects come from?
Post by: qwerty on June 04, 2020, 07:52:42 am
The last bracket was swallowed from you link.

q.