But, instead of pass an Object, I will rather prefer to pass specific
types.. I mean:
operationOne(TypeA a) { ... }
operationTwo(TypeB b) { ... }
it guarantee the robustness of the code and also gives me free validation..
if I pass Object, I must polute my code with validation ....
On Wed, Apr 2, 2008 at 6:23 PM, Felipe Gaúcho <fgaucho_at_gmail.com> wrote:
> yes, this is exactly what generics gives for free for you :)
>
> But, for now I will keep my old fashion code and do some sort of types
> switch ...
>
> I guess XSD cannot represent generics, unless we have an external
> binding or framework to support it....
>