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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Kotlin in Production – What Works, Whats Broken

16 点作者 pdeva1超过 8 年前

2 条评论

merb超过 8 年前
&gt; 2 - Cannot subclass Data classes<p>I know why you want it, I&#x27;ve always had that in scala where a case class is also not subclasseable.<p>But trust me it&#x27;s a extremly bad idea. A data class should be final and only contain data. there is no reason to subclass it and if one day valhalla will be coming, it&#x27;s even a worse idea.
评论 #12573181 未加载
jgalt212超过 8 年前
&gt; Kotlin code is much less verbose than Java code. This makes it more pleasing to both read and write.<p>Is there any language in common usage today that is more verbose than Java?