News for hackers. Stuff that matters.
Re:Porting 30K lines of code from Flow to TypeScript by zachrose on Monday January 14, 2019 @06:28PM (#18907562)
I’m sympathetic to this point of view, but I find lodash to be too huge of an API. Most of the collection methods can be done as a small _.reduce, and I find the many method names and subtle distinctions to add more trivia than they remove.
Re:Porting 30K lines of code from Flow to TypeScript by untog on Monday January 14, 2019 @06:33PM (#18907598)
The good news is that you can use lodash as an ES6 module, with any tree-shake capable bundler stripping out all the crap. Absolutely agree it's not optimal though.