▲ 36 ▼ "Useless syntax sugar": Numbered block parameters in Ruby (zverok.space) submitted 2 years ago by PythOnRails@programming.dev to c/programming@programming.dev 20 comments fedilink hide all child comments
[–] jeffhykin@lemm.ee 1 point 2 years ago (1 child) Is it just me or does it feel kinda unclean for it to just support 1 through 9? permalink fedilink source hideshow 2 child comments replies: [–] eager_eagle@lemmy.world 2 points 2 years ago 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 permalink fedilink source parent
[–] eager_eagle@lemmy.world 2 points 2 years ago 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 permalink fedilink source parent