Pattern matching and type safety in TypeScript by Michal ZaleckiMichal Zalecki (LogRocket Blog)
I think it’s fair to say that most programmers understand type safety as a feature of the programming language which eliminates the type errors. TypeScript as a statically typed superset of JavaScript addresses this issue, especially in the strict mode which is more rigorous and performs additional checks. That being said, I’m more interested in …

Interesting article on algebraic data type in :

https://blog.logrocket.com/pattern-matching-and-type-safety-in-typescript-1da1231a2e34/

Mentions fp-ts library for typed functional programming.

Leave a Reply

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)