start | find | index | login or register | edit
comment-2003-09-22-3
by earl, 7517 days ago
it's a dump of test session of my very simple hack of a prototype-based programming addon to rebol. you can add functions to prototypes dynamically, and functions are properly inherited.

and no, rebol's object! has almost nothing to do with OOP.

a syntactically sugared version would look like

a!.foo: func [ a b ] [ a + b ]
b.foo 1 2
powered by vanilla
echo earlZstrainYat|tr ZY @.
earl.strain.at • esa3 • online for 8450 days • c'est un vanilla site