How do you achieve polymorphic behavior? A few ideas occur to me such
as having a "CREATE" operator that sets the methods to the appropriate
implementations for the runtime type. Another is to maintain a table of
object IDs and classes and always have methods invoked through a common
dispatch manager, but nothing really seems very clean.

Anyway, I remember that, and I think it's a good idea.

--- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:

> A while back I posted code that used globals to store object-like
> data.  Once can put functions (or references to functions) into a
> string (stored in the object) and then executed with the "xecute"
> command.
> 
> Thus one could shoe-horn object orientated behavior from M
> 
> Kevin
> 



===
Gregory Woodhouse  <[EMAIL PROTECTED]>

"Design quality doesn't ensure success, but design failure can ensure failure."

--Kent Beck








-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to