PythOnRails to Programming · 2 years ago"Useless syntax sugar": Numbered block parameters in Rubyzverok.spaceexternal-linkmessage-square35linkfedilinkarrow-up165arrow-down14
arrow-up161arrow-down1external-link"Useless syntax sugar": Numbered block parameters in Rubyzverok.spacePythOnRails to Programming · 2 years agomessage-square35linkfedilink
minus-squarepotterman28wxcv@beehaw.orglinkfedilinkarrow-up2·2 years agoIf you need a lambda with 10 parameters you might consider aggregating those parameters into a struct or a hash instead. lambda are meant to be short functions
If you need a lambda with 10 parameters you might consider aggregating those parameters into a struct or a hash instead. lambda are meant to be short functions