Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
puppetmaster3
on Jan 1, 2014
|
parent
|
context
|
favorite
| on:
Javascript patterns
Good.
theonej
on Jan 2, 2014
[–]
these patterns are cute. I especially like the one where for loops are described, as if the variable declaration practices are important.
deelowe
on Jan 2, 2014
|
parent
[–]
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.
svachalek
on Jan 2, 2014
|
root
|
parent
[–]
I thought I might learn something until I saw that exact comment, then decided it was safer to stop reading immediately.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: