TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Supporting non-nullable types in Dart

2 pointsby extermover 10 years ago

1 comment

extermover 10 years ago
Very interesting discussion, although there already are solutions to some of these problems in other type systems.<p>Erlang also has optional type annotations via the dialyzer tool and all types are by default non-nullable.<p>Generally I think that the dart language implementors should try harder not to copy language design fails from Java &#x2F; C++, like null-pointers or half-baked enumeration types.