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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Dart 3.3

31 点作者 markdog12超过 1 年前

5 条评论

irq-1超过 1 年前
<a href="https:&#x2F;&#x2F;pub.dev&#x2F;packages&#x2F;web" rel="nofollow">https:&#x2F;&#x2F;pub.dev&#x2F;packages&#x2F;web</a><p>&gt; This package exposes browser APIs. It&#x27;s generated from the Web IDL definitions and uses recent Dart language features for zero-overhead bindings.<p>Dart doesn&#x27;t get the respect it deserves.
评论 #39390223 未加载
评论 #39389573 未加载
seertaak超过 1 年前
It seems every language starts with free functions and classes (even mojo). They then realize that isn&#x27;t so great: third parties are at a syntactic disadvantage (no dot fn&#x27;s). And then, the language designers &quot;fix&quot; the problem with extension methods. Now you have three different function kinds, and we haven&#x27;t even broached async.<p>Why not have only structs, free functions, and UFCS?
评论 #39435626 未加载
Alifatisk超过 1 年前
The extension type was a bit alien to me, so it’s a type with functions in it?<p>Also, any plans on union types? There is like no way to tell Dart when something can either by type A or type B.<p>I believe pattern matching is the only way at the moment.
评论 #39391453 未加载
chipweinberger超过 1 年前
The improved Web interop looks really nice.<p>Dart is evolving so quickly!
dark__paladin超过 1 年前
Dart is actually fairly nice to use. It&#x27;s a shame it will probably end up in the Google graveyard in a few years.
评论 #39407960 未加载