j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
I'd like to add to this discussion that I *strongly* support the wide use of double dispatching (in lieu of multiple polymorphism in the language) rather than generality or adaptation methods, and that there are many potential uses for it with geometrical objects, other kinds of magnitudes (e.g., pitch, duration, loudness), etc.
The trade-off is a relative explosion in the number of methods that must be written, but most of these are 1-liners that can be automatically generated. DD is the only realistic (and safe) way to allow the extension of the range of magnitudes.
stp
_ Stephen Travis Pope _ Center for Research in Electronic Art Technology (CREATE) _ Dept. of Music, Univ. of California, Santa Barbara (UCSB) _ stp@create.ucsb.edu, http://www.create.ucsb.edu/~stp/
squeak-dev@lists.squeakfoundation.org