On Aug 25, 2006, at 2:41 PM, Norman Palardy wrote:
On Aug 25, 2006, at 12:23 PM, Guyren Howe wrote:
This would work if we had first-class classes. But we don't, and
right now, you can't treat a class as an object in this way. The
shared methods and properties make a class *almost* exactly like a
module at the moment.
First class functions seem, to me, to be a characteristic of
certain kinds of languages (mainly scripting languages) and not
fully compiled languages like RB, C and C++.
Java may support first class classes, but this seems to be a
characteristic of the fact that it runs inside a VM and where you
can dynamically create the code for a class, compile it and then
load it into the VM.
Are there examples of compiled languages that support first-class
classes ?
Objective-C.
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>