hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Over Object Class #

by babie in inspect

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.

  • Nucleus – But it is alike Kernel.
  • CoreObject – Long name is good in point of less conflict, but it’s not my taste.
  • BlankObject – ditto.
If you think of good name, comment casually.

Many comments are posted already , but matz is looking for a better idea always, maybe.

said on 06 Apr 2005 at 12:54

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.

said on 06 Apr 2005 at 12:55

Object: Related Words article, item, piece; being, entity, substance; commodity, good, ware; accessory, accompaniment, bauble, curio; knickknack, spangle, token, trinket

said on 06 Apr 2005 at 13:06

I like NakedObject, because it’s naughty.

said on 06 Apr 2005 at 13:10

In Smalltalk, it’s called ProtoObject, IIRC .

said on 06 Apr 2005 at 13:47

KernellessObject, but that’s long as well.

Perhaps we can just call it Simpleton.

said on 06 Apr 2005 at 14:12

ObjectBase? as in “all your ObjectBase belong to…” uh, okay … how ‘bout OverObject :-)

said on 06 Apr 2005 at 14:26

hrmm, I like Simpleton.

I was going to suggest Bare.

said on 06 Apr 2005 at 16:28

Simploid, or Simplon

said on 06 Apr 2005 at 19:48

Hmmm, what’s that word for an uncut gem?

A gem in the rough?

said on 07 Apr 2005 at 03:31

why ObjectBase, BaseObject is much better :)

said on 07 Apr 2005 at 12:32

Encap

said on 07 Apr 2005 at 13:09

Overclass, Toplevel, Root?

said on 07 Apr 2005 at 15:42

Lung

said on 07 Apr 2005 at 16:15

Beef

said on 07 Apr 2005 at 16:18

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…

said on 07 Apr 2005 at 16:22

An empty class full of sound and fury, signifying nothing.

Skeleton? Vacant? Stage?

...Yorrick?

I knew him, Horatio.

said on 07 Apr 2005 at 16:54

(the above being more ideas for Object’s superclass, rather than new names for Object, of course…)

said on 09 Apr 2005 at 00:18

BlankSlate, as Jim Weirich has already named and released (builder.rubyforge.org)

said on 09 Apr 2005 at 21:22

MU

said on 11 Apr 2005 at 21:06

Any of BlankSlate, Nucleus, or ProtoObject sound good.

said on 12 Apr 2005 at 05:18

Or just plain Proto

said on 14 Apr 2005 at 17:16

Nutkin

Comments are closed for this entry.