javascript - Local variable naming convention with JS Lint -
industry standard locally scoped variables '_' js lint complains mightily these _'s.
does else have naming convention locally scoped variables in javascript file
we develop in .net here, , made simple decision standardize on simple convention. c# , javascript code should close 1 possible.
hence, camelcase local variables, titlecase types, , on.
it's worked out pretty well, since there's no jarring transition between 2 languages, , great job of distinguishing our code native js code , of 3rd party libraries.
my 2 cents.
p.s. use stylecop standards, fwiw. , won't make jslint happier.
Comments
Post a Comment