On Jun 05, 2006, at 17:24 UTC, Steve Garman wrote:

> > 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.
> 
> Have you considered using a variant as the parameter? No, neither have I,
> honestly.

:)  Thanks for your honesty.  A variant is even worse than having the parameter 
type be another Comparable.  The goal is to *not* throw strong type-checking 
out the window, while still being able to write generic functions that operate 
on comparable objects.

Best,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
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>

Reply via email to