[Prev][Next][Index][Thread]

Re: simple method dispatch question



I like your second technique better than the first.  I wonder which
would be more efficient.

Here's another gotcha in this whole thing though:  You probably wouldn't
know that you need to have the print-as protocol for printing derived
classes until (of course) you created the derived classes.  A derived
class might not seem necessary during initial design phases. This could
force some redesign (is the $64 word "refactoring") in Dylan which might
be avoided in C++.


Sent via Deja.com http://www.deja.com/
Before you buy.



Follow-Ups: References: