It seems to me that there should be two kinds of lints.  One to help
wayward programmers, especially newbies, and another to help experts find
typos.  The last thing I want is someone else dictating style to me.  I'm
rather obstinate that way.

On Fri, Feb 24, 2012 at 11:12 AM, Matt <hel...@gmail.com> wrote:

> On Fri, Feb 24, 2012 at 1:58 PM, Christopher Jeffrey <chjjeff...@gmail.com
> > wrote:
>
>> I don't want to say all linting is useless. JS(L/H)int sure as hell is
>> though.
>>
>
> I hate the meme, but: ^ THIS.
>
>
>> JSLint is completely based on subjective experience over fact. What
>> was crockford's explanation of why he doesn't allow case fall-through?
>>
>> "One time my case fell-through *unintentionally* and bad things
>> happened, so now I think falling through *intentionally* is bad.*
>>
>> Did you spot the nonsequitur?
>>
>
> Yeah it's a complete nonsense stance. Another one for me: Crockford
> enforces that doing:
>
>     for (var i=0,l=foo.length; i<l; i++) {
>         ...
>     }
>
> is a bad thing (the "var" declaration) and not allowed (and not
> configurable/switchable). I totally understand that the variables aren't
> technically scoped there by the virtual machine running the javascript, I
> don't care, because Javascript is written for humans, and that's where it
> is scoped for me, the programmer. Let me do it anyway!
>
> Matt.
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to