Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Is Rebol OO?

From: greggirwin:mindspring at: 11-Jan-2004 12:13

Hi Behrang, BS> Sorry if this is a stupid question, but is REBOL BS> Object Oriented? Not a stupid question. REBOL is not OO in the sense that you think of with Smalltalk, Eiffel, Java, Ruby, etc. It has "objects", but they are used as prototypes to create new objects. There is no concept of "class" in REBOL and objects don't have any private/protected members by default (though you can create them if you really want to and think it's worth the effort). REBOL's approach isn't better or worse, but it is definitely different, and not strict OO according to the three main criteria. -- Gregg