5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agoRandom internet people explaining math better then math teacheri.imgur.comexternal-linkmessage-square203fedilinkarrow-up11.64Karrow-down157
arrow-up11.58Karrow-down1external-linkRandom internet people explaining math better then math teacheri.imgur.com5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agomessage-square203fedilink
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.