Re: Generics error messages



"Chris Smith" <cdsmith@xxxxxxx> wrote in message
news:MPG.1d561c2e8c7dd2d2989a8a@xxxxxxxxxxxxxxxxxxx
> Roedy Green <look-on@xxxxxxxxxxxxxxxxxxxx> wrote:
> > Is there distinction between <E> and <? extends E>?
> >
>
> Yes, but it's kind of subtle.

[snip]

I'm sure many are grateful for your detailed explanation, but to me, the
length and complexity of the explanation is simple proof that Sun really
took a big step backwards by adding generics to Java.

Java used to be KISS. Adding inner classes was already a dangerous departure
from the KISS beauty and power of Java 1.0. The "geniuses" who crippled Java
with generics forgot why Java was created in the first place. Shame on them.
Java is quickly turning into what it was originally designed to improve on:
C++ !



.



Relevant Pages

  • Re: Generics error messages
    ... > I'm sure many are grateful for your detailed explanation, but to me, the ... > took a big step backwards by adding generics to Java. ... It is - nontheless - an improvement over Java without generic types, ...
    (comp.lang.java.programmer)
  • Re: Please solve my problem regarding the code i submit.
    ... > I need a detailed explanation for the code which i am submitting with this mail. ... If this is indeed homework, try actually learning some things about ... java, since I would imagine that's the point of the homework. ...
    (comp.lang.java.help)
  • Re: Java Generics: limitations?
    ... cannot go around and do something similar to what I've said, then Java ... generics cannot be called generics, ... have pointed out, the HasXY interface is not necessary, and could be ... public int getX(); ...
    (comp.lang.java.programmer)
  • Re: Getter & Setter
    ... ich zumBbeispiel auch nicht sicher bin was Row Types ... C++ und Ada machen das ebenfalls nicht (wobei Ada nur benannte Generics ... Performanz in Java hauptsächlich in den Methodenaufrufen zu finden ...
    (de.comp.lang.java)
  • Re: Getter & Setter
    ... ich zum bEispiel auch nicht sicher bin was Row Types ... C++ und Ada machen das ebenfalls nicht (wobei Ada nur benannte Generics ... su meinst eine starke, statische Typisierung mit einigen ... Performanz in Java hauptsächlich in den Methodenaufrufen zu finden ...
    (de.comp.lang.java)