News for hackers. Stuff that matters.
Re:TC39: Add Object.groupBy and Map.groupBy by erulabs on Tuesday December 19, 2023 @04:35PM (#38701987)
It can be trivially rolled by hand, but it’s also a pretty common function in other languages. I’d guess most node programmers reach for lodash for this.
Re:TC39: Add Object.groupBy and Map.groupBy by paulddraper on Tuesday December 19, 2023 @04:48PM (#38702158)
> a pretty common function in other languages

Except oddities like C, C++, Perl, PHP, and Go :)

Re:TC39: Add Object.groupBy and Map.groupBy by erulabs on Tuesday December 19, 2023 @05:12PM (#38702527)
Oh PHP programmers would just rely on MySQL's groupBy, we both know it! :P