News for hackers. Stuff that matters.
Re:Why do we need "? extends" in Java by ronreiter on Sunday March 25, 2012 @09:03AM (#3752476)
I thought the whole point about Java is that it's supposed to be extra verbose (which is also the reason it sucks a bit). wtf is this shit
Re:Why do we need "? extends" in Java by guard-of-terra on Sunday March 25, 2012 @09:41AM (#3752565)
Let me tell you why everyone is downvoting you:

The "? extends" is not an "extra verbosity". It's actually a sound CS concept, one that you need to make compiler understand how some generic code turns out to be correct while working on partially specified types.

IIRC C# didn't have that "extra verbose" thing in its early versions and the developers weren't very happy because you do need it.

Not being able to separate "extra verbosity" from "solid CS concepts" makes you lousy at reasoning about programming languages. Might as well stop bothering.