Monday, June 7, 2010

a flexible case convention

There's all this contention and confusion about CamelCase vs mixedCase vs using_underscores, etc.  It just occurred to me that it would be easy enough to define a standard where those are interchangeable, so that a function defined as some_function could also be called as SomeFunction or someFunction or Some_Function or whatever makes you happy.  That would helpfully disallow some confusingly close pairs, make names easier to remember, and allow us to write each section of code in its own coherent style.

No comments:

Post a Comment