objectscript / cos-guidelines

Caché ObjectScript contibutors guidelines
MIT License
15 stars 15 forks source link

Variable naming #2

Closed eduard93 closed 8 years ago

eduard93 commented 8 years ago

So, whats the variable naming scheme?

set i
set CountIndex
tsafin commented 8 years ago

That was intentionally left unanswered - I'd prefer CamelCase for class names and function names, and smallCase for variables. But seems like I've bad luck convincing to use it Sergey Kudinov and Dmitry Zasypkin. So unless there is consensus we could not prefer anything.

"Use the reasonable name convention which is consistent across hierarchy" could be the only recommendation.