Hi,
In message "[ruby-talk:6473] Dr. Dobb's Python-URL! ... (Nov 20) ... "Ruby and Python" thread"
on 00/11/21, "Conrad Schneiker" <schneik / us.ibm.com> writes:
|> One odd thing I came across: while in Ruby apparently everything is an
|> instance (no difference between types and classes) I read somewhere that
|> functions and methods are _not_ first class citizens.
|
|Is this (literally) correct, or is this correct subject to some important
|but unstated qualifications? And if so, was there a good (for some
|purposes) trade-off involved?
It used to be correct.
Methods became first class citizens on Mar. 3 1998.
In Ruby, unlike Python, method invocation does not generate method
object internally.
matz.