2 ms·
Depends a bit on how deep you want to learn but I found using underscore in javascript helpfull https://smthngsmwhr.wordpress.com/2014/02/02/eloquent-javascript
by tim333 10y ago
Depends a bit on how deep you want to learn but I found using underscore in javascript helpfull https://smthngsmwhr.wordpress.com/2014/02/02/eloquent-javascript-with-underscore-js/ https://smthngsmwhr.wordpress.com/2014/02/02/eloquent-javasc...
The problem I had with full on functional stuff was seeing what the point is - ok you could replace your for loop with some weird recursive stuff which the compiler will turn back to imperative behind the scenes so it will run quick but I had a trouble seeing why. However replacing some javascript loops with underscore stuff I was able to see how it was more compact and less bug prone. Also it doesn't take long to get.