Misc. Naming: Can I place underscores instead of camel casing in modern languages?
Posted
by Bubba88
on Stack Overflow
See other posts from Stack Overflow
or by Bubba88
Published on 2010-05-09T04:54:37Z
Indexed on
2010/05/09
4:58 UTC
Read the original article
Hit count: 252
Hi!
I would like to ask some kind of permission (I hope that doesn't sound strange) from the people who have influence on the naming conventions in modern languages like F#, Scala, etc.
My problem is - I just can't read camelCased code and wish I could write underscored_names at least in my internal implementations (not in API interface). This applies to just everything - local var names, method names, params.. (Not class names I think)
It seems that now the camel-casing is preferred for example for the names of object methods, but could that be not the only way?
What would you say; Can I go with underscored names in languages like I mentioned (F#, Scala)?
© Stack Overflow or respective owner