[
Lists Home |
Date Index |
Thread Index
]
> -----Original Message-----
> From: Bill de hÓra [mailto:bill.dehora@propylon.com]
> Sent: Wednesday, February 16, 2005 5:39 PM
> To: Dare Obasanjo
> Cc: Michael Kay; Elliotte Harold; Neeraj.Bajaj@Sun.COM; Chris
> Burdess; xml-dev@lists.xml.org
> Subject: Re: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML
> Processing"
>
> > So given the choice of methods that take useless interfaces (since
> > they have to cast to get anything useful) and APIs with lots of
> > overloaded methods that support a rich set of data sources,
> why would
> > you think the former is better?
>
> Because it'll be more elegant to add metadata onto Source
> objects than continue with parametric polymorphism. It's hard
> not to conclude a fundamental abstraction is missing when a
> class has that many overloaded calls.
And it's hard to argue that Source is actually a useful abstraction.
--
PITHY WORDS OF WISDOM
No matter how long or how hard you shop for an item, after you've bought it, it will be on sale somewhere cheaper.
This posting is provided "AS IS" with no warranties, and confers no rights.
|