Solving naming abiguity #1412
Replies: 6 comments 1 reply
-
Would prefer either ReasoningI mainly share the opinion that the terms should be as precise as possible and not leave room for ambiguity.
|
Beta Was this translation helpful? Give feedback.
-
I'd vote for:
kcp
skr If I had to choose an alternative, then it'd be a |
Beta Was this translation helpful? Give feedback.
-
I know that these acronyms bear some "business" meanings that may be not valid - in some possible cases. |
Beta Was this translation helpful? Give feedback.
-
I believe these are the most common terms that are used when we refer to either of them. Also, they are already defined in the documentation so by the time anyone gets into the code, they would have already figured out what these stand for from the docs. |
Beta Was this translation helpful? Give feedback.
-
I think |
Beta Was this translation helpful? Give feedback.
-
My reasoning for not picking the runner-up |
Beta Was this translation helpful? Give feedback.
-
In order to settle on one name when talking about certain domain entities in our project, we have to find our Ubiquitious Language, because software doesn't cope well with ambiguity.
Keep in mind that it is a good idea to choose a name that is also often used in spoken language by us and by other stakeholders! Which is the whole reason the concept of sitting together and defining a Ubiquitious Language came up in Domain Driven Design, so that when stakeholders talk about something, chances are high they are actually talking about the same thing!
Currently up for discussion:
Name for "everything related to our controlplane". In code we most often find, either as a prefix or a standalone param or var, also also path and folder names (examples in no particular order):
kcpCrd
,kcpClient
,controlPlaneClient
,cClient
,KCPMODULESTATE
,flagvar.InKcpMode
,kcpEnvVar
,controlplane_test
,config/controlplane
,controlPlaneEnv *envtest.Environment
, ...Ignoring the the lazy
c
Prefix, the two candidates are:kcp
controlPlane
Name for "everything related to a remote skr cluster". Examples, similar to above:
skr_client_lookup
.SKRWebhookManager
,runtimeClient
,pkg/remote
,runtimeRESTConfig
,CreateModuleTemplateCRDInRuntime
,remoteClientCache
,NewSKRCluster
,SKRWebhookAnnotation
, RemoteClusterLookup, ...Adding one name idea of our previous discussion (which is not being used in code at all yet), the four candidates to decide from are:
skr
remote
runtime
kymaRuntime
Please cast your vote in this discussion, so we can quickly find one name that is used, or at least preferred to be used, throughout our codebase (and meetings).
Also consider our glossary, that contains entity names of both domains:
https://github.com/kyma-project/lifecycle-manager/wiki/Glossary
Beta Was this translation helpful? Give feedback.
All reactions