TL;DR: Do you agree with the short form as (best) practice?
we’re currently making some good progress with the Event-Sourced Content Repository (see Weekly ESCR Talk - #19 by bwaidelich) and will soon go over some fine tuning of things that are hard to change afterwards (event payload, class names, …).
One thing we stumbled upon is the many “…Identifiers” that are quite hard to read.
Sebastian and me (and you?) would like to deviate from our CGL in that specific case and rename “*Identifier” to “*Id” because it is much easier to grasp.
some more context – we propose changing this for Neos.ContentRepository etc; where there will be an API change anyways. IMHO we do not need to rename stuff in Flow for no specific reason…
I agree with Karsten, we should really aim for consistency so either Id or Identifier but whichever is chosen should be used consistently at least in the Neos ecosystem.
At the same time Id is very much an unofficial industry standard so moving to Id may make things more easily compatible with other systems going forward.
I could imagine that this has a lot to do with habit. At least my personal experience was, that it feels really cumbersome to look at the written out version after I used the short form in my personal projects for a while.
Anyways, habits are important of course and we should not mindlessly force a change
Yes, same here. But I also appreciate that we agree to exceptions (and don’t write getHypertextMarkupLanguage() for example *g)
Yes, good point. We’ll start with the Content Repository for now. But if that’s done and feels good, we should add that rule to our CGL.
I don’t really think that this particular cosmetic style affects compatibility with 3rd parties to be honest. But if it does, even better
When we briefly discussed this topic last week, we decided to close this thread unless severe concerns were brought up.