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