News for hackers. Stuff that matters.
Re:Three Minor Features in Go 1.18 by dragonwriter on Thursday December 23, 2021 @05:57AM (#29660641)
> It's a bit messy in JS.

Mainly, IME, because of the combination of JS map, etc., passing extra, infrequently used parameters, and functions you might want to use often accepting optional less-frequently-used parameters, which can end up interacting horribly wrong when you do:

  arr.map(func)
instead of:

  arr.map(v => func(v))
when you want a “simple” map application.

There are no comments on this comment yet.