PythOnRails to Programming · 1 year ago"Useless syntax sugar": Numbered block parameters in Rubyzverok.spaceexternal-linkmessage-square35fedilinkarrow-up165arrow-down14
arrow-up161arrow-down1external-link"Useless syntax sugar": Numbered block parameters in Rubyzverok.spacePythOnRails to Programming · 1 year agomessage-square35fedilink
minus-squareexussum@lemmy.worldlinkfedilinkarrow-up2arrow-down1·1 year agoTo each their own. But man imagine if you have a collection of stuff that has a large name, and then having to figure out a short name other than e when iterating. I hope you’re not iterating over chemical names 😬
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up4·1 year agoNo need to be over-descriptive. Anything at all more specific than e will probably be a better name
minus-squareKalabasalinkfedilinkEnglisharrow-up1·1 year agoIt’s not black and white. I mean, even el is a lot better than e.
yes
To each their own. But man imagine if you have a collection of stuff that has a large name, and then having to figure out a short name other than e when iterating. I hope you’re not iterating over chemical names 😬
No need to be over-descriptive. Anything at all more specific than
e
will probably be a better nameIt’s not black and white. I mean, even
el
is a lot better thane
.