DEV Community

Discussion on: Data Validation in Typescript Using the Either Pattern

Collapse
 
ssimontis profile image
Scott Simontis

Also, if you like Haskell, I would encourage you to check out ReasonML and Elm as web programming languages. Elm was written by a language designer prodigy and the code itself is basically commented as if it were a textbook. ReasonML is OCaml that gets turned into JavaScript. They are both really fun, just not quite there for production use.

I have not played around with Haskell, F# and Ruby metaprogramming have been enough for me :) I would love to try it someday.

Also, great article! I enjoyed reading it and share in your frustration to express beautifully complex type systems in every language. The best way we can do is ensure we design objects that cannot be created already in an illegal state.