News for hackers. Stuff that matters.
Re:Streams in Java 8 by discardorama on Sunday February 09, 2014 @06:12PM (#7207876)
(I did not downvote you)

Such jingoism adds nothing to the discourse. Someone can as easily find something in Java 1.5 that C# still doesn't have. So what does that prove? Nothing.

Re:Streams in Java 8 by overgard on Sunday February 09, 2014 @06:26PM (#7207953)
> Someone can as easily find something in Java 1.5 that C# still doesn't have.

Like what?

Re:Streams in Java 8 by javafu2 on Sunday February 09, 2014 @06:55PM (#7208094)
checked exceptions :), sorry just kidding.

mainly wildcards, you can design an interface which is covariant and contravariant, and real interference when calling a generic method.

Re:Streams in Java 8 by eropple on Sunday February 09, 2014 @08:31PM (#7208529)
The lack of wildcard types in C# consistently bothers me when I use it.
Re:Streams in Java 8 by bruceboughton on Monday February 10, 2014 @05:08AM (#7210094)
It looks to me like C# supports everything from http://docs.oracle.com/javase/tutorial/extra/generics/wildca... using generic type constraints: http://msdn.microsoft.com/en-us/library/bb384067.aspx

What am I missing?

Re:Streams in Java 8 by benjiweber on Monday February 10, 2014 @03:00PM (#7213322)
They added Covariance and Contravariance of generic type parameters in 4. http://msdn.microsoft.com/en-us/library/dd799517%28v=vs.110%...
Re:Streams in Java 8 by syjer on Sunday February 09, 2014 @06:36PM (#7208001)
static imports ?
Re:Streams in Java 8 by overgard on Sunday February 09, 2014 @06:41PM (#7208027)
You could add an extension method to object, if you want the same effect.

(Although: A workaround for java's bizarre stance that no function can exist without an object doesn't really strike me as a "feature". [Granted: this criticism is equally true of C#])

Re:Streams in Java 8 by inglor on Sunday February 09, 2014 @06:52PM (#7208077)
It's in C# 6 :)