3 ms·
I disagree. Addition of generics in Java 5 was bigger.
by sanxiyn 8y ago
I disagree. Addition of generics in Java 5 was bigger.
- barrkel 8y agoI'd rather keep lambdas and live with runtime polymorphism, than keep parametric polymorphism and lose lambdas. Generics, in terms of scope, is a bigger feature, for sure. And generics make lambdas more usable. But the distance between generics and their alternative - manual casts throughout - is larger than the distance between lambdas and anonymous inner classes.
- usrusr 8y agoLambdas on untyped streams? I think I'll pass... Speaking of dark matter coding, story time: a spare time project of mine involves bringing an actual, pre-generics codebase into the not quite as distant past. That beast still has real, living users! Surprisingly, a frequent complaint is running out of heap memory, so they are happily sharing their magic -Xmx incantations with values that would have been outrageously high when the code was written.