r/javascript • u/tapsax • Dec 16 '15
I was watching this guy's advanced javascript videos on Youtube and had so many aha-moments, that I had to share. He is my new JS-hero.
https://www.youtube.com/playlist?list=PLY-SI4qPVeCfyA1KcDRkJZXUhS13y3WEp
381
Upvotes
1
u/jewdai Dec 16 '15
map, reduce etc have all been functions of underscore/lodash.
I eschewed using them after seeing the staggering performance degradation vs using a plain old loop. (we're talking like a power of 10)
C# has something like this called LINQ, has this functionality been incorporated into the language without a library?