Since keyword arg assignment is already DRY with omitting of argument of the same name, what about DRYing out an instance var assignment? Something like this, with "@" for example, since it's already used to assign instance vars / memoiz...x3qt (Jury Paliakou)
matz (Yukihiro Matsumoto) wrote in #note-2: > It was the first candidate for a single anonymous block parameter. But we abandoned for the compatibility's sake. Too many existing programs use `_` as a local variable (far too more than `_...x3qt (Jury Paliakou)
shyouhei (Shyouhei Urabe) wrote in #note-4: > Tell us how is it better than #12543, which is receiving negative feedbacks? ``` ruby foo() then return ``` Syntax proposed in #12543 does not look good to me, specifically because i...x3qt (Jury Paliakou)
I would like to propose to create some way to enable TCO in ruby by use of special form, like (recur)[https://clojure.org/reference/special_forms#recur]. AFAIK TCO is not enabled by default because it messes with stack traces, so by i...x3qt (Jury Paliakou)
I propose to alias `_1` as `_` for block numbered params, so the following statements should be equal – ``` ruby [1,2,3].map { _1 ** 2 } [1,2,3].map { _ ** 2 } ``` There is an [anonymous function argument literal](https://clojure....x3qt (Jury Paliakou)