News for hackers. Stuff that matters.
Re:Javascript patterns by puppetmaster3 on Wednesday January 01, 2014 @06:18PM (#6997259)
Good.
Re:Javascript patterns by theonej on Thursday January 02, 2014 @12:14AM (#6998318)
these patterns are cute. I especially like the one where for loops are described, as if the variable declaration practices are important.
Re:Javascript patterns by deelowe on Thursday January 02, 2014 @07:41AM (#6999337)
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.
Re:Javascript patterns by svachalek on Thursday January 02, 2014 @12:56PM (#7000950)
I thought I might learn something until I saw that exact comment, then decided it was safer to stop reading immediately.