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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Kotlin in enterprise

10 点作者 PleaseHelpMe将近 8 年前

1 comment

ShardPhoenix将近 8 年前
&gt;You also would probably mention that the code would be less likely to be buggy and crash due to the null safety principle. Not really. Although it makes it easier to deal with null values, Kotlin is no miracle cure. A null value comes from somewhere. If your logic is wrong, your logic is wrong, no matter what is the language used.<p>I haven&#x27;t used Kotlin extensively enough to know how much the null safety really helps, but this reasoning seems incorrect to me. You could extend it to say that static types aren&#x27;t useful either, but in both cases there&#x27;s a significant benefit from getting faster feedback that your logic is (or might be) wrong.
评论 #14945722 未加载