@5SpeedDeasil@lemmy.world to Memes@lemmy.ml • 2 years agoRandom internet people explaining math better then math teacheri.imgur.comimagemessage-square205fedilinkarrow-up11.65Karrow-down160
arrow-up11.59Karrow-down1imageRandom internet people explaining math better then math teacheri.imgur.com@5SpeedDeasil@lemmy.world to Memes@lemmy.ml • 2 years agomessage-square205fedilink
minus-square@basketsandhoes@lemmy.mllinkfedilink3•2 years agoCan you explain this out a bit more? I’m a self-taught programmer, of sorts, and I’m not quite getting this…
minus-square@nicolairathjen@lemmy.worldlinkfedilink3•2 years agoA 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.
Can you explain this out a bit more? I’m a self-taught programmer, of sorts, and I’m not quite getting this…
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.