Gregory Brown wrote:
> On 1/18/07, David Chelimsky <dchelimsky / gmail.com> wrote:
> 
>> Does this seem like a good thing to propose?
> 
> -1.  I see @a and @b to be part of the classe's instance variables, so

Why the class' instance variables? That doesn't fit with the current pattern:

  class C
    def initialize(v = nil)
      @default = v
    end
    def otherdefault
      42
    end
    def ultimate(v = @default || otherdefault)
      v
    end
  end
  C.new.ultimate #=> 42
  C.new(54).ultimate #=> 54

If an object's instance variables (and even methods) can be used as default 
values, it would be coherent to also allow them in the argument list. This feels 
100% instinctive to me.

+1

-dd