commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <>
Subject Re: [lang 3] static or dynamic type checks?
Date Fri, 27 Nov 2009 05:08:41 GMT
I think we should reduce the overloading and just accept Object. From 
the runtime type, we can determine how to do further checks. Then, we 
can nicely implement 1 args, 2, args, ... and finally var-args overloads.


On 11/26/2009 10:49 PM, James Carman wrote:
> So, what you're concerned with is the first parameter (the "thing" we
> want to check, which we do so by reflection)?  Why do we need to
> change its type?
> On Thu, Nov 26, 2009 at 10:42 PM, Paul Benedict<>  wrote:
>> James,
>> Yes. I want to also eliminate the static types of all the overloaded
>> methods. We don't need a version for maps, one for char sets, one for
>> objects, one for collections, etc. We can do all those checks dynamically.
>> This was my point of my original email. What are your thoughts on it?
>> Paul

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message