Thought question: Where does "new" come from?

I enjoy these kinds of discussions, but they make my head hurt. :wink:

BTW, thanks for translating that German page before. In spite of my last name,
my German is limited to what I was able to pick up on Hogan鈥檚 Heroes as a kid.
:wink:

Christopher J. Meisenzahl CPS, CSTE
Senior Software Testing Consultant
Spherion
christopher.j.meisenzahl@citicorp.com

路路路

-----Original Message-----
From: hal9000 [mailto:hal9000@hypermetrics.com]
Sent: Thursday, August 15, 2002 2:33 AM
To: ruby-talk
Cc: hal9000
Subject: Thought question: Where does 鈥渘ew鈥 come from?

I鈥檝e been brooding again on the circularities
in Ruby鈥檚 classes.

Now I鈥檓 thinking of a particular question:
How would you explain where 鈥渘ew鈥 comes from
in a class?

It鈥檚 easy to say that all classes are objects
of the type Class.

So for example, Object has a 鈥渘ew鈥 because it鈥檚
a Class. But on the other hand, Class is an
Object.

Would you say that Object gets 鈥渘ew鈥 from Class,
or vice versa? Or neither? Or should I just not
worry about it?

This arose because I was trying to draw a picture
of Ruby鈥檚 entire object model.

Comments, anyone? Matz, Dave, Guy, David? Others?

It鈥檚 1:35 a.m. my time. I should go to bed. I鈥檝e
probably said something incorrect in this email.

Hal