[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: s-exprs + prototypes

> Date: Sun, 22 Jun 2003 01:16:02 -0700
> From: James McCartney <asynth@io.com>
> Functions are objects and objects are functions. What is the difference?

The big difference is that functions have no notion of inheritance, whereas
objects generally do.  There are many different ways of handling this, none
of which are manifestly the "best" way.  So the supposed generality of
objects is IMO an illusion.  That's not to say objects aren't useful, but I
think object systems should be in libraries rather than built-in.

If you are advocating objects without inheritance, then your claim is
accurate.  But who wants that?