java - Should I use uppercase or camelcase in label enums? -


the title says all.

in cypher, camelcase used labels. instance :car , :bike. api docs label uses uppercase when defining each label in enum, label.car.name() car, not car.

using camelcase fits in more nicely cypher queries, conflicts java standard naming enum members. forces me use labels label.bike_seat instead of label.bikeseat in graph database. 1 should use?

even though using uppercase enum members correct way in java, i'm still bit curious why neo4j people decided represent labels enums?

oracle doc : because constants, names of enum type's fields in uppercase letters.

check : http://docs.oracle.com/javase/tutorial/java/javaoo/enum.html


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -