|
|
|
|
|
by zverok
979 days ago
|
|
(Author here) Well, unfortunately a lot of new stuff becomes controversial on the pure ground of "no new language changes! it is good enough for me!" TBH, I thought about a post series like this for a long time, but the last trigger was an announce of a special Rubocop addon to "disable useless syntax sugar"[1], and pattern matching was one of the "useless sugars" in the list. So I felt I need to cover it, too. And in the end of the day, I think it is an interesting excercise to analyse it in the same way as other, less significant and more controversial, features (the most intresting stuff would be in the second part, though). 1: https://www.reddit.com/r/ruby/comments/16slc10/announcing_ru... |
|