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-squaremorrowind@lemmy.mllinkfedilinkarrow-up1·edit-21 year agoRuby lets you do .map(&:unwrap) no need for results edit: lemmy keeps adding in the &, not sure how to avoid that
Ruby lets you do
.map(&:unwrap)
no need for resultsedit: lemmy keeps adding in the
&
, not sure how to avoid that