Re:Java 8: New features in ConcurrentHashMap
by joneholland on Wednesday January 18, 2017 @09:22AM
(#13426428)
The Java streams syntax is still painful.
[ Parent
| on HN ]
Re:Java 8: New features in ConcurrentHashMap
by kedean on Wednesday January 18, 2017 @10:14AM
(#13426837)
I got used to the syntax pretty fast, to the point that I actually kind of like it. My complaint about streams is how slow they can be. If you're doing collection transformations often, the time spent turning your objects into streams can kill your performance. I'm worried it's going to reinforce the old myth that functional programming is implicitly slow.
Re:Java 8: New features in ConcurrentHashMap
by spullara on Wednesday January 18, 2017 @11:54AM
(#13427839)
It will be a lot better with value types in Java 10 (hopefully).
Re:Java 8: New features in ConcurrentHashMap
by KennyCason on Wednesday January 18, 2017 @09:56AM
(#13426678)
That's one reason (of many) that we use Eclipse collections, formerly known as GS Collections. :) It also closes the gap on weaknesses in JCL like immutability vs mutability, and a nice improvement to the interfaces.
I know even use it in personal projects in place of JCL wherever I can.