PythOnRails@programming.dev to Programming@programming.dev · 1 year ago"Useless syntax sugar": Numbered block parameters in Rubyzverok.spaceexternal-linkmessage-square21fedilinkarrow-up144arrow-down13cross-posted to: technews@radiation.party
arrow-up141arrow-down1external-link"Useless syntax sugar": Numbered block parameters in Rubyzverok.spacePythOnRails@programming.dev to Programming@programming.dev · 1 year agomessage-square21fedilinkcross-posted to: technews@radiation.party
minus-squarejeffhykin@lemm.eelinkfedilinkarrow-up2·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-up2·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