On Saturday 08 April 2017 14:44:55 Carsten Ziegeler wrote:
> Oliver Lietz wrote
> 
> > On Thursday 06 April 2017 21:59:34 Julian Sedding wrote:
> >> The configuration property "user.default.mapping" should be called "
> >> use.default.mapping", or maybe rather "default.mapping.enabled" to avoid
> >> typos and confusion.
> > 
> > We already messed up property names in component configurations (incl.
> > typos), but as Julian opened that topic here are my € 0.02: use dots to
> > create a (hierarchical) structure and camel case or snake case to
> > compound separate words – like logging configs in any application, e.g.
> > Tomcat
> > https://tomcat.apache.org/tomcat-8.0-doc/logging.html (->
> > useDefaultMapping or default_mapping_enabled)
> 
> Avoid camel casing :) With the new component property types of R7 camel
> casing can cause in some cases a little bit of trouble. We ran into this
> while defining annotations for the http whiteboard which unfortunately
> in some cases uses camel casing.

Really? Can you point me to an example or elaborate on the issues? I would 
have expected minor issues with snake case due to dot to underscore mapping 
but none with camel case.

Thanks,
O.

> Regards
> Carsten

Reply via email to