Over Object Class #
Translated from matz blog, 2005-04-06
Ruby’s Object-class is very rich. It has many methods. In fact, Kernel-class has common methods of all classes and Object-class includes it.Though it is convenient normally, it is not good in case of programing that uses method_missing in heavy. (Because method_missing is not called if the method is defined.)
And so, I’m going to make “something” over Object-class. It doesn’t include Kernel-class. The problem is a naming.
If you think of good name, comment casually.
- Nucleus – But it is alike Kernel.
- CoreObject – Long name is good in point of less conflict, but it’s not my taste.
- BlankObject – ditto.
Many comments are posted already , but matz is looking for a better idea always, maybe.
Chris
In Cocoa, there’s a sort-of equivalent root class called NSProxy. m-w.com: Text: Synonyms SEED 2 , bud, embryo, germ, spark
Seed, maybe.
Chris
Object: Related Words article, item, piece; being, entity, substance; commodity, good, ware; accessory, accompaniment, bauble, curio; knickknack, spangle, token, trinket
Daniel Berger
I like NakedObject, because it’s naughty.
chris2
In Smalltalk, it’s called ProtoObject, IIRC .
flgr
KernellessObject, but that’s long as well.
Perhaps we can just call it Simpleton.
s0nspark
ObjectBase? as in “all your ObjectBase belong to…” uh, okay … how ‘bout OverObject :-)
Jason Watkins
hrmm, I like Simpleton.
I was going to suggest Bare.
pmcm
Simploid, or Simplon
pugio
Hmmm, what’s that word for an uncut gem?
A gem in the rough?
gab
why ObjectBase, BaseObject is much better :)
trans
Encap
batkins
Overclass, Toplevel, Root?
why
Lung
MenTaLguY
Beef
MenTaLguY
In all seriousness, this is what Object ought to have been, most likely. Though I’m not quite sure what we should have called Object instead…
MenTaLguY
An empty class full of sound and fury, signifying nothing.
Skeleton? Vacant? Stage?
...Yorrick?
I knew him, Horatio.
MenTaLguY
(the above being more ideas for Object’s superclass, rather than new names for Object, of course…)
gavin
BlankSlate, as Jim Weirich has already named and released (builder.rubyforge.org)
e
MU
Chris
Any of BlankSlate, Nucleus, or ProtoObject sound good.
zem
Or just plain Proto
why
Nutkin
Comments are closed for this entry.