[REBOL] Re: IS REBOL object oriented?
From: greggirwin:mindspring at: 4-Jun-2002 13:18
Hi Abdel,
<< My first impression was that REBOL is an Internet Operating System that
uses
a script (similar to PEARL, or CSHELL) to do some shell programming! is this
impression correct? >>
Yes and no. :) REBOL is a messaging language, which is as easy to use as a
scripting language, but incredibly powerful as well. REBOL/View adds
excellent GUI capabilities to the Core language and REBOL/IOS adds a
complete collaborative infrastructure (client and server pieces) on top of
that.
<< The marketing guy told my boss that REBOL is object oriented
programming...I
didn't see anything like that by looking to the sample programs that come
with the REBOL trial version...what's up with that? >>
You can do OOP in REBOL, but the underlying implementation is different than
how OOP works in many other languages (e.g. C++, Java). Objects are more
like data structures that can contain functions as well as data. Ojbects are
a very handy way to manage scope. I.e. they can be used to provide
namespaces.
REBOL is quite different from most languages. It's similar to LISP, FORTH,
and LOGO in ways, and is very human friendly (IMHO).
HTH!
--Gregg