-
i love underscore, but what i love even more is removing underscore because all we're using it for is map() or filter() and those are just methods on arrays now
-
(what i hate is this thing i keep seeing in Typescript where _.sample() is being inferred to return a type of {} and I have to manually cast to fix it - after refactoring so it's not in a chain)
-
for people who follow me who know C#, but not javascript, underscore is like LINQ. and if you do Unity coding and aren't using LINQ, it's the best. it's like underscore but for C#. i just love functional-style transformations on objects and arrays.
-
and if you do python, they're both like list comprehensions, but less funky and more chainable