From: Nobuyoshi Nakada Date: 2011-10-05T00:52:49+09:00 Subject: [ruby-core:39936] Re: [Ruby 1.9 - Feature #5372][Open] Promote blank? to a core protocol Hi, (11/10/03 6:38), Alex Young wrote: > Yep, that's another way to do the same sort of thing, but with a Blank > or Null it's more explicit and more flexible. With a bare > "case...else..." you have to handle both correct nulls and erroneous > values in the "else" clause. With Null, you can leave the "else" clause > purely for handling the error case, where you've somehow got a response > you weren't expecting. I think it's clearer. The "flexibility" (or ambiguity) seems the sign that it should not be in core, to me. Indeed ActiveSupport has many interesting features, however they are basically designed for Rails concerned applications and may not be suitable for the language core. -- Nobu Nakada