"Useless syntax sugar": Numbered block parameters in Rubyzverok.spaceexternal-linkcross-posted to: technews@radiation.partyhackernews@derp.foo PythOnRails ( @PythOnRails@programming.dev ) Programming@programming.dev • 1 year ago message-square4fedilinkarrow-up125
arrow-up125external-link"Useless syntax sugar": Numbered block parameters in Rubyzverok.space PythOnRails ( @PythOnRails@programming.dev ) Programming@programming.dev • 1 year ago message-square4fedilinkcross-posted to: technews@radiation.partyhackernews@derp.foo
minus-square potterman28wxcv ( @potterman28wxcv@beehaw.org ) linkfedilink1•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