Hi,
In message "[ruby-talk:01243] Re: Singleton classes"
on 00/02/05, "Conrad Schneiker" <schneiker / jump.net> writes:
|But out of curiosity, what terms (if any) are used for these sorts of things
|(and the other things mentioned earlier in this thread) by other OO
|languages (for example, CLOS/Lisp, Eiffel, Smalltalk, Python, and (proposed
|extensions to) Java) in particular, and by the computer science community in
|general? Do they have any terms worth copying?
Dylan uses the word `singleton' for little bit different way. Some
book about CLOS use the term `inidividual method'.
I don't know other languages which have the feature to add method to
individual object, except for prototype-based languages like Self.
Ruby is dynamic one step further so that not only methods, but even
attributes can be added to individual object, using .. uh ..
class <<obj
..
end
what-you-may-call-it.
matz.