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

[REBOL] Re: steel... update... of the week (for more advanced rebolers)

From: rotenca:telvia:it at: 27-Jun-2003 22:58

Hi Gabriele,
> For example, wrt face/init, it's not casual that it is a block. > This way, when creating a new style from an old one, we can write: > > Style MyButton Button [ > append init [ > ; ... > ] > ] > > Who needs inheritance?
This is inheritance, trough a dialect. Don't you think? In my last vid programs I have found myself using more and and more stylize and style, I encapsulate code in styles, re-use the code, inherited the code, extend the class, add some methods or values (facets or words), replace them, and all with styles (not only). I am more and more thinking that writing Vid code is, at its best, writing custom styles like oo class. For me it is an example of a different approach to oo: with a dialect instead of the usual methods of C++ and Java. --- Ciao Romano