ポスト

ところでこのブロック引数の構文の提案、かっこいいし、ネスト減るの便利だし、良いと思うんだけど、どうですか?deferでやりたいのって概ねLoan Patternだと思うんだけど、これだとスッキリかけそうな気が

メニューを開く
さっきつくった / Hiroya Fujinami@make_now_just

I experimentally implemented a new syntax to Ruby by modifying Prism. `|foo| = bar.baz; ...` is parsed as `bar.baz { |foo| ... }` under this modification. It seems good to reduce the problem of deep block nesting. (I believe it is better than some `defer` syntax ;) #rubykaigi

藤村 | CTO@STORES@ffu_

人気ポスト

もっと見る
Yahoo!リアルタイム検索アプリ