DEV Community

Discussion on: under_scores, camelCase and PascalCase - The three naming conventions every programmer should be aware of

Collapse
 
patrykrudnicki profile image
Patryk Rudnicki

I don’t know the naming, but probably in Java constant value you’re naming in all camel case characters with underscore between words. Good to add this too if this is the official naming convention.

Collapse
 
prahladyeri profile image
Prahlad Yeri

Thanks, I've updated the post with this point.

Collapse
 
patrykrudnicki profile image
Patryk Rudnicki

Yeah, great. Good to point it too. But I mean SOME_VAL not Some_Val. Never seen this approach

Thread Thread
 
prahladyeri profile image
Prahlad Yeri • Edited

Yep, SOME_VAL is full underscores, not a variation of camel case chars, and its the more popular one. Some_Val is a mix of camel and underscores, its less popular and rarely used.