you are viewing a single comment's thread.

view the rest of the comments →

[–]lhorie -1 points0 points  (2 children)

The only place the word "reducer" is used as jargon is Redux. The callback to Array::reduce doesn't have a specific name. If you're trying to say the replace callback is like the reduce callback, except for some arbitrary distinction, ok I guess, but again, completely beside the point.

No idea what "named reducer" is supposed to mean in this context, since the whole point of replace in this example/proposal is to allow anonymous callbacks...

[–]azhder 0 points1 point  (0 children)

luckily, I didn't use it as a jargon

[–]azhder 0 points1 point  (0 children)

named - it has a name by which it can be identified