"Useless syntax sugar": Numbered block parameters
12-Oct-2023 1079
This is a part of a blog post series about “useless” (or: controversial) syntax elements that emerged in recent Ruby version. The goal of the series is not to defend (or criticize) the features, but to share a “thought framework” for analysis of their reasons, design, and effect the new syntax has on a code that uses it. See also intro post.Let’s start with the feature that at the moment of its introduction I disliked to the extent of taking it as almost personal offense (the story was already told here): Numbered, or anonymous block parameters.
"Useless syntax sugar": Numbered block parameters #ruby #rubydeveloper #rubyonrails #"Useless #syntax #sugar": #Numbered #block #parameters #parameters https://rubyonrails.ba/link/useless-syntax-sugar-numbered-block-parameters