Darren New wrote:
Andrew Lentvorski wrote:
Everything is an object can also be translated to "every function has
an implicit first parameter".
Um, no. It means everything in the language, including code, stack
frames, integers, statements, etc is a first-class object that has a
defined behavior that can be overridden.
In addition, most of what the Smalltalk guys rave about is not the
fact that it is object-oriented. What they generally rave about is
the fact that the system is introspective without limit.
Yes, but it's introspective *because* everything is an object.
*Everything* is an object. Want to walk the call stack? Go for it -
it's a linked list of objects. What to store the context of every time
you call this function into a collection for later? Want to also
include the executable code of the function that called you? Go for
it. Etc.
Seriously, this is pretty much a debate about semantics at this point,
and more importantly orthogonal to the thread, no?
--Chris
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg