PythOnRails@programming.dev to Programming@programming.dev · 2 years ago"Useless syntax sugar": Numbered block parameters in Rubyzverok.spaceexternal-linkmessage-square17fedilinkarrow-up140arrow-down13cross-posted to: technews@radiation.partyhackernews@derp.foo
arrow-up137arrow-down1external-link"Useless syntax sugar": Numbered block parameters in Rubyzverok.spacePythOnRails@programming.dev to Programming@programming.dev · 2 years agomessage-square17fedilinkcross-posted to: technews@radiation.partyhackernews@derp.foo
minus-squarejeffhykin@lemm.eelinkfedilinkarrow-up1·2 years agoIs it just me or does it feel kinda unclean for it to just support 1 through 9?
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up1·2 years agotbf positional arguments are already bad enough. Now if you’re using over 9 positional args… just take a break, go for a short walk, and maybe you’ll come back with a better plan
Is it just me or does it feel kinda unclean for it to just support 1 through 9?
tbf positional arguments are already bad enough. Now if you’re using over 9 positional args… just take a break, go for a short walk, and maybe you’ll come back with a better plan