TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

69 点作者 ptrik大约 3 年前

6 条评论

jicea大约 3 年前
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 未加载
scubbo大约 3 年前
Some great features here! Looking forward to when my team upgrades to Java 17 in 2035!
评论 #30852764 未加载
ibiza大约 3 年前
Conveniences. Will Valhalla or Loom ever drop?
评论 #30851556 未加载
评论 #30851489 未加载
评论 #30851491 未加载
fulafel大约 3 年前
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.
oaiey大约 3 年前
It looks like C# and Java are now developed in parallel with the same features.
评论 #30851821 未加载
评论 #30851852 未加载
phobus大约 3 年前
god i&#x27;m old