[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OO no... here we gOO again...
On Mon, 24 Jul 2000, Ira Abramov wrote:
> On Mon, 24 Jul 2000, Stanislav Malyshev a.k.a Frodo wrote:
>
> > IA>> what OO is, and that is a rather personal view. I heard some people say
> > IA>> Java (which Sun dubs "pure OO") is not OO at all, since "if" statements
> > IA>> are not objects and there are primitive types, others said that even
> >
> > Erm? Why if statements should be objects? ';' is not object too, so
>
> I was once told that in Scheme (and IANASP) an "if" statement is an
> object in itself. I'll be learning scheme next year and be able to tell
> you if I like it that way or not, for now I'll pass the flamethrower to
> Omerm and Moshez to defend Scheme :)
OK, even though Scheme is not really object oriented to the core. This is
a feature, not a bug -- Scheme is a lot like X (another fine creation of
MIT) -- it is based on "mechanism, not policy". (OTOH, Scheme is a good
mechanism). So you can program OO in Scheme, you just have to implement an
object system first.
"Every Scheme programmer wrote an object system. Sometimes 2"
--
Moshe Zadka <moshez@math.huji.ac.il>
There is no IGLU cabal.
http://advogato.org/person/moshez
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il