5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agoRandom internet people explaining math better then math teacheri.imgur.comimagemessage-square195fedilinkarrow-up11.72Karrow-down162cross-posted to: math@lemmy.world
arrow-up11.66Karrow-down1imageRandom internet people explaining math better then math teacheri.imgur.com5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agomessage-square195fedilinkcross-posted to: math@lemmy.world
minus-squarebasketsandhoes@lemmy.mllinkfedilinkarrow-up3·1 year agoCan you explain this out a bit more? I’m a self-taught programmer, of sorts, and I’m not quite getting this…
minus-squarenicolairathjen@lemmy.worldlinkfedilinkarrow-up3·1 year 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.