logo dotConferences

Modeling your way to consistency

Christian Gill at dotJS 2019

When developing applications with states which require some effort to make them consistent, we can either accept that and write many unit tests to make sure things are consistent, or we can model domains in a better way, leveraging the type system to eliminate as many inconsistencies as possible.


To see the slides, you can click here

More details

The example in the talk is just a small display of what can be achieved with domain modeling and leveraging the type system and compiler. Christian encourages you to learn more about the topic of Domain Modeling, Making Impossible States Impossible and Type Driven Development. You should also to look at the way other languages approach and solve problems and bring some ideas back to your daily work with TypeScript (or JavaScript).

Happy and safe coding! 🎉