exussum@lemmy.worldtoProgramming@programming.dev•"Useless syntax sugar": Numbered block parameters in Ruby
1·
1 year agoAnd lets you easily write metal languages due to the way you can pass around blocks. Think configuration as code type stuff.
And lets you easily write metal languages due to the way you can pass around blocks. Think configuration as code type stuff.
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.
Are you against using a single letter variable like e for element in iterating over things?