尤川豪   ·  1年前
445 貼文  ·  275 留言

TypeScript's Blind Spots

The type systems in Elm and TypeScript are operating in fundamentally different ways, built to serve their intended use cases.


Elm is a sandbox where nothing can enter with assumptions about its types. You have to prove everything to the Elm type system.


TypeScript is built in a way that's meant to be good at gradual typing, allowing you to add type information to existing JavaScript code in an incremental way.

  分享   共 485 次點閱
共有 0 則留言
還沒有人留言。歡迎分享您的觀點、或是疑問。
您的留言
尤川豪
445 貼文  ·  275 留言

Devs.tw 是讓工程師寫筆記、網誌的平台。隨手紀錄、寫作,方便日後搜尋!

歡迎您一起加入寫作與分享的行列!

查看所有文章