[REBOL] Re: IS REBOL object oriented?
From: chrismorency:videotron:ca at: 4-Jun-2002 19:38
Some tips regarding OOP under Rebol...
- Rebol will let you design objects containing variables and functions.
- Rebol has strong datatype (ie not everything is an object !)
- Rebol OOP is more like Self than Smalltalk, Java or C++. They are no
classes, every object is an instance.
Rebol will let you design objects based on another object (not class)
through cloning and copying instead of inheritence.
All variables and functions are copied. Rebol object creation will copy
So if you have 1000 instances of an object based on another object instance
(design to be a template object or pseudo-class), there will be 1000 copies
of each functions ! AFAIK it can consume a lot of memory.
Rebol's objects are self aware through self...
note: it is possible to design a library that will implement the
object/class paradigm... I did some preliminary work on the subject.
However, IMHO there seems to have some kind of lack of interest for OOP in
the Rebol's community. I really wish there was more interest in OOP under
Rebol is a very powerful messaging, scripting language... OOP is possible
but it is not it's force...
>From a person who daily works with Smalltalk.