PythOnRails@programming.dev to Programming@programming.dev · 1 year ago"Useless syntax sugar": Numbered block parameters in Rubyzverok.spaceexternal-linkmessage-square24fedilinkarrow-up145arrow-down13cross-posted to: technews@radiation.partyhackernews@derp.foo
arrow-up142arrow-down1external-link"Useless syntax sugar": Numbered block parameters in Rubyzverok.spacePythOnRails@programming.dev to Programming@programming.dev · 1 year agomessage-square24fedilinkcross-posted to: technews@radiation.partyhackernews@derp.foo
minus-squarepotterman28wxcv@beehaw.orglinkfedilinkarrow-up1·1 year 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