Sparx Systems Forum
Enterprise Architect => General Board => Topic started 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
pcu: PowerControlUnit
epc: ElectricalPowerController
-
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.
-
Somebody wrote a Wikipedia page: https://en.wikipedia.org/wiki/Naming_convention_(programming) (https://en.wikipedia.org/wiki/Naming_convention_(programming))
-
The last bracket was swallowed from you link.
q.