4 ms·
I've been working professionally in Java for almost 20 years. I can't remember the last time I saw someone use features introduced after 1.6. The time API in
by Consultant32452 8y ago
I've been working professionally in Java for almost 20 years. I can't remember the last time I saw someone use features introduced after 1.6. The time API in 1.8 was nice. I've never seen anyone use lambdas in production code. I'm sure people do use newer stuff, but I think it's the minority. So in practice it's even more stable than it is in the headlines.
- Scea91 8y agoStrange, our production code is full of streams and lambdas. It probably depends on the type of product.
- euyyn 8y agoChromium (and so Chrome too) uses lambdas in its Java parts.
- qw 8y agoI work for a large company and the code base is full of streams and lambdas. Streams are almost used too much and could be replaced with a simple for-loop.
- ionised 8y agoYeah, stream overuse is definitely an issue at our company.
- jcadam 8y agoI started using Streams and lambdas immediately, along with functional interfaces. Java is still not nearly as pleasant as Scala or Clojure, however.
- ionised 8y agoWe start using new features pretty much as soon as the new JDK version is released to general use.
- astura 8y agoI started using them ASAP.
- gbersac 8y agoLast time I used java, I used it extensivelly lambda, collection map and flatmap, optinnals... But old school javaist barely used them though.