▲ 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
[–] exussum@lemmy.world 1 point 2 years ago (1 child) This makes me want to write a function for you to add to numbers where the variables are leftumber and rightnumber, instead of x and y. permalink fedilink source parent hideshow 2 child comments replies: [–] eager_eagle@lemmy.world 1 point 2 years ago if "left" and "right" were relevant for addition, they would indeed be better names permalink fedilink source parent
[–] eager_eagle@lemmy.world 1 point 2 years ago if "left" and "right" were relevant for addition, they would indeed be better names permalink fedilink source parent