You are viewing a single thread.
View all comments View context
3 points

Can you explain this out a bit more? I’m a self-taught programmer, of sorts, and I’m not quite getting this…

permalink
report
parent
reply
3 points

A reducer “reduces” a list of values to one value with some function by applying it to 2 values at the time.

For instance if you reduce the list [1, 2, 3] with the sum function you get (1 + (2 + 3)) = 6.

permalink
report
parent
reply

Memes

!memes@lemmy.ml

Create post

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

Community stats

  • 7.9K

    Monthly active users

  • 12K

    Posts

  • 266K

    Comments