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

2549Re: Formatting question

Expand Messages
  • Douglas Crockford
    Aug 4, 2011
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "g2223060" <g2223060@...> wrote:

      > Wow. So if I have a variable that is initialized on the var statement and it is 50-60 characters long, I should declare it LAST on the var statement, otherwise I will have to have a bunch of lines with one variable on each line, like:
      > i,
      > j,
      > k,
      > ...etc...
      > For the life of me, I can't see how this JSLint rule helps readability or code quality. But that's just me... Thanks for your explanation!

      Are you trying to convince me that you are stupid enough to have a 60 character variable name and one character variable names in the same function? I'm not buying it. I don't think you are *that* stupid.
    • Show all 16 messages in this topic