PythOnRails@programming.dev to Programming@programming.dev · 11 months ago"Useless syntax sugar": Numbered block parameters in Rubyzverok.spaceexternal-linkmessage-square20fedilinkarrow-up144arrow-down13cross-posted to: [email protected][email protected]
arrow-up141arrow-down1external-link"Useless syntax sugar": Numbered block parameters in Rubyzverok.spacePythOnRails@programming.dev to Programming@programming.dev · 11 months agomessage-square20fedilinkcross-posted to: [email protected][email protected]
minus-squaremorrowind@lemmy.mllinkfedilinkarrow-up1·edit-211 months 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