On Jun 05, 2006, at 11:18 AM, Lars Jensen wrote:
...the point of this is to allow the CompareTo method
to declare what type (or types) it can compare itself to...
This seems like a specific instance of a more general problem. For
instance, I often find myself writing classes that are lists of
various things. With judicious naming, the only difference between the
various list classes is the type of thing being listed. I'd like to be
able to create a "template" class, method, or module that centralizes
all the repetitive logic, and just leaves the type unspecified.
(Now is the time for you to invoke your favorite "RB is not C+
+ !!!" macro.)
Some kind of support for Generics would be awesome !
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>