Red Handed
Posts: 1158
Nickname: redhanded
Registered: Dec, 2004
|
Red Handed is a Ruby-focused group blog.
|
|
|
|
Over Object Class
|
Posted: Apr 11, 2005 4:39 AM
|
|
|
This post originated from an RSS feed registered with Ruby Buzz
by Red Handed.
|
Original Post: Over Object Class
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
|
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded
|
|
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.
Read: Over Object Class
|
|