TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What’s New Between Java 11 and Java 17? (2021)

69 pointsby ptrikabout 3 years ago

6 comments

jiceaabout 3 years ago
I’m a backend developper, working on medium to big Spring Boot apps. Two years ago, we introduced Kotlin in our code base with really good results on code quality.<p>With Java 17, the gap is narrowing between Kotlin and Java. Kotlin has still unique features that I love (extension methods for instance), but the big one is nullability. You can use @Nullable&#x2F;@NotNull annotations in Java but I largely prefer having nullability backed in types with Kotlin. Some people say nullability is not a problem: with 30 developers of various quality, I can ensure it is a problem. I don’t see Java addressing nullability in a better way in the near future, so I’m going to stick with Kotlin.
评论 #30851818 未加载
scubboabout 3 years ago
Some great features here! Looking forward to when my team upgrades to Java 17 in 2035!
评论 #30852764 未加载
ibizaabout 3 years ago
Conveniences. Will Valhalla or Loom ever drop?
评论 #30851556 未加载
评论 #30851489 未加载
评论 #30851491 未加载
fulafelabout 3 years ago
It would be interesting to see qualitative surveys of new Java code that appears eg on Github that would give information about whether the real-world practice in Java is converging toward expressivity of higher level languages and reduced incidental complexity.
oaieyabout 3 years ago
It looks like C# and Java are now developed in parallel with the same features.
评论 #30851821 未加载
评论 #30851852 未加载
phobusabout 3 years ago
god i&#x27;m old