logoalt Hacker News

saghmtoday at 1:53 AM2 repliesview on HN

Luckily these aren't exclusive! You can do all of those things with a strong type system as well, and get the benefits of all of them.


Replies

rastriantoday at 3:49 AM

100%. Types don’t replace fuzzing, property tests, chaos, or adversarial thinking. They just move one slice of bugs from runtime to compile time and make refactors safer.

In hindsight I should have positioned types/ADTs as one layer in the reliability toolbox, not the toolbox.

z0ltantoday at 3:33 AM

[dead]