1674Re: [jslint] Unexpected use of ++
- Dec 13, 2010--- In firstname.lastname@example.org, Brant Gurganus <brant@...> wrote:
> language doesn't make sense. If such a thing existed, cite K&R
> seen encourage bad practices. However, that's a discussion for some
> other list.
However, you missed the irony in my post. As anyone who has learned C finds this way of writing a loop natural, 'i++' is to be expected, and if JSLint doesn't like this perfectly unambiguous expression, it should criticise it in different terms.
- << Previous post in topic Next post in topic >>