On Thu, 21 Feb 2002 03:17, Berin Loritsch wrote:
> Justin Rudd wrote:
> >>>I will fix that problem.  Until we have generics
> >
> > in java, we will still
> >
> >>>be forced to cast.....
> >>
> >>C# has it, therefor Java too soon ;).
> >
> > Just a quick clarification, C# does not have generics
> > in version 1.0 because adding generics support would
> > be required in the runtime not just the language (or
> > so says the MS dev team).
> >
> > There is some research going on to add generics, but
> > nothing yet.
> >
> :) Java Generics will be a compile time feature, and I believe
>
> this to be an advantage over C++ runtime generics.  

Actually C++ is static/compile time generics ... though I am not sure C++s 
implementation deserves the title of "generics"

I would much prefer runtime generics because then you could see it through 
reflection and dynamic code would be much much more safer.

-- 
Cheers,

Pete

"The perfect way is only difficult for those who pick and choose.  Do not
like, do not dislike; all will then be clear.  Make a hairbreadth
difference and heaven and earth are set apart; if you want the truth to
stand clear before you, never be for or against." - Bruce Lee

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to