Re:Javascript patterns
by puppetmaster3 on Wednesday January 01, 2014 @06:18PM
(#6997259)
Good.
[ Parent
| on HN ]
these patterns are cute. I especially like the one where for loops are described, as if the variable declaration practices are important.
And the recommendation to avoid i++ due to "excessive trickiness?" followed by a recommendation to use while(i--) with i initialized somewhere else as a for loop substitute? What the heck? That sounds terrible.