Re:Eloquent JavaScript, Second Edition
by addflip on Wednesday September 11, 2013 @12:32PM
(#6368179)
jQuery does hide core Javascript concepts. For example, the for loop in jQuery it is totally abstracted out into $.each.
[ Parent
| on HN ]
Re:Eloquent JavaScript, Second Edition
by straws on Wednesday September 11, 2013 @07:08PM
(#6370787)
This is an example of one of many functional abstractions that jQuery (carefully) adds to Javascript.
There are great functional examples in Eloquent Javascript, that show you how to go from low-level loops to high-level abstractions. That's EJ's triumph: it guides you through the mental leap you have to make to go from for loops, to useful enumerations like maps and folds and the like.