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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

A core Python committer's (very shallow) thoughts on Dart

68 点作者 vgnet大约 13 年前

6 条评论

damncabbage大约 13 年前
<i>Dart views types as helpful documentation and a way to help tools assist with things, period. I actually find it rather refreshing to have a language that treats types as just documentation since that is really what they are for the programmer</i><p>But, just like documentation, if it gets out of date you're really wonked.<p>I'd prefer something that is both useful as documentation <i>and</i> is used by the compiler (a la Haskell's type classes).
评论 #3970053 未加载
nl大约 13 年前
Interesting, and very positive review.<p>Maybe it's my Java background coming through, but I <i>like</i> the idea of Factory constructors.
评论 #3969992 未加载
评论 #3970033 未加载
评论 #3969805 未加载
评论 #3970199 未加载
sp332大约 13 年前
Single-inheritance, but interfaces can have default implementations? Isn't that... multiple inheritance?
评论 #3970932 未加载
stcredzero大约 13 年前
<i>they still went a little overboard in my opinion on some things (e.g. the list interface has a last() method instead of supporting negative indexes).</i><p>A last method is much more intention revealing and easier to scan for me than negative indexes.
评论 #3972406 未加载
stcredzero大约 13 年前
<i>...have done toy examples now in 18 languages...this is actually usually enough for me to grasp the inspirations for a language and thus understand its essence.</i><p><i>Usually</i> is the dangerous word here. (Dangerous as in, "a little knowledge.")
评论 #3971413 未加载
vgnet大约 13 年前
Some responses from the Dart team: <a href="https://plus.google.com/115362263245161504841/posts/82jKeP4YjbG" rel="nofollow">https://plus.google.com/115362263245161504841/posts/82jKeP4Y...</a>