Loading ...
Sorry, an error occurred while loading the content.

2541Re: [jslint] Re: double underscores

Expand Messages
  • Martin Cooper
    Aug 3, 2011
    • 0 Attachment
      On Wed, Aug 3, 2011 at 3:26 PM, Douglas Crockford <douglas@...> wrote:
      > --- In jslint_com@yahoogroups.com, Mark Volkmann <r.mark.volkmann@...> wrote:
      >> I'm trying to use JSLint to check code that uses the Express module of Node.js.
      >> It uses the variable __dirname.
      >> Is there an option for JSLint that would allow that? nomen seems to
      >> only ignore one leading underscore.
      > Double underbar is an ultra bad practice because of its diabolical use by implementations like Spidermonkey.
      > Leading underbar is stupid. Double leading underbar is double stupid.

      It's the Node.js core committers you'd need to convince of that, Doug.
      The consumers of the Node.js API - including the JSLint users here on
      this list - don't have any real say in the matter.

      Martin Cooper

      > ------------------------------------
      > Yahoo! Groups Links
    • Show all 6 messages in this topic