oblakr2412/18/2017, 9:12 AM
sindrenm12/18/2017, 9:29 AM
). But since enums aren't necessarily constant (i.e. immutable), I'm actually leaning towards pascal-casing them. However, I believe this to be inherited from Java, and since it's not really defined otherwise anywhere, I'd guess most people would use the Java conventions here. Think I might be up for a change, though.
hho12/18/2017, 9:44 AM
) while the enum values are constants and therefore all-caps (
). Also, that way interoperability with Java is preserved best.
sindrenm12/18/2017, 9:44 AM
Also, that way interoperability with Java is preserved best.I approve of this point. 👍
hho12/18/2017, 10:02 AM
sindrenm12/18/2017, 10:03 AM