Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #41426

Re: JavaScript now supports 'groupBy`

Path csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Mild Shock <janburse@fastmail.fm>
Newsgroups comp.lang.javascript
Subject Re: JavaScript now supports 'groupBy`
Date Mon, 4 Sep 2023 01:43:39 +0200
Message-ID <ud35na$kfeq$1@solani.org> (permalink)
References <b5e3bf33-1b38-4bb1-b6f2-4fdb3348b2afn@googlegroups.com> <7bc9bbab-16dd-40e9-ba65-9377c0ea2fc3n@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 3 Sep 2023 23:43:38 -0000 (UTC)
Injection-Info solani.org; logging-data="671194"; mail-complaints-to="abuse@news.solani.org"
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.17
Cancel-Lock sha1:0Aft+A92WKKzhCv58J4kAKmuv6c=
X-User-ID eJwFwQkBwDAIA0BLvKHI6UjxL2F36VBMBRKRm3utZECKdn+g013KqqItn0yWQb/gOXd6V0PncenxFI11/wE7khUL
In-Reply-To <7bc9bbab-16dd-40e9-ba65-9377c0ea2fc3n@googlegroups.com>
Xref csiph.com comp.lang.javascript:41426

Show key headers only | View raw


Omg, the little italian was at it again. How cringe...
What is he, a Bolchevik that is about to kill the Romanov Family?

Julio Di Egidio schrieb:
> On Monday, 21 August 2023 at 20:42:18 UTC+2, Michael Haufe (TNO) wrote:
> 
>> In case you missed it, JavaScript finally implemented
>> a groupBy static method for Object and Map
> 
> You might have missed that it's neither decently supported,
> nor, as for the enthusiasm, it has anything to do with the
> aggregation operator by the same name, in fact, with any
> aggregation at all: this "groupBy" is more of a "partitionBy"
> and can be implemented in one line of code with an array
> reduce over the input's keys.  Indeed, I'd call it plain clutter.
> 
> Julio
> 

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

JavaScript now supports 'groupBy` "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2023-08-21 11:42 -0700
  Re: JavaScript now supports 'groupBy` Julio Di Egidio <julio@diegidio.name> - 2023-09-02 02:50 -0700
    Re: JavaScript now supports 'groupBy` luserdroog <luser.droog@gmail.com> - 2023-09-03 06:10 -0700
    Re: JavaScript now supports 'groupBy` "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2023-09-03 07:55 -0700
      Re: JavaScript now supports 'groupBy` Julio Di Egidio <julio@diegidio.name> - 2023-09-03 08:18 -0700
    Re: JavaScript now supports 'groupBy` Mild Shock <janburse@fastmail.fm> - 2023-09-04 01:43 +0200
  Re: JavaScript now supports 'groupBy` Arno Welzel <usenet@arnowelzel.de> - 2023-09-03 17:39 +0200
    Re: JavaScript now supports 'groupBy` "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2023-09-04 06:45 -0700

csiph-web