PythOnRails@programming.dev to Programming@programming.dev · 11 months ago"Useless syntax sugar": Numbered block parameters in Rubyzverok.spaceexternal-linkmessage-square17fedilinkarrow-up139arrow-down13cross-posted to: technews@radiation.partyhackernews@derp.foo
arrow-up136arrow-down1external-link"Useless syntax sugar": Numbered block parameters in Rubyzverok.spacePythOnRails@programming.dev to Programming@programming.dev · 11 months agomessage-square17fedilinkcross-posted to: technews@radiation.partyhackernews@derp.foo
minus-squarejeffhykin@lemm.eelinkfedilinkarrow-up1·11 months agoIs it just me or does it feel kinda unclean for it to just support 1 through 9?
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up1·11 months 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