News for hackers. Stuff that matters.
Re:TC39: Add Object.groupBy and Map.groupBy by ricardobeat on Tuesday December 19, 2023 @04:56PM (#38702227)
It's very funny to point to lodash as an example of simplicity. Here is what happens when you start unraveling the code you linked to:

https://gist.github.com/ricardobeat/040af80971273f5abd71c2bf...

I got tired, but wouldn't be surprised if the whole thing goes beyond 1000 lines. It's basically a black hole. Better hope you really, really trust their test suite, it's impossible to debug and there must only be a handful of people familiar with the whole codebase.

There are no comments on this comment yet.