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

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -