News for hackers. Stuff that matters.
Re:What Should We Do to Prevent Software from Failing? by yaccz on Wednesday May 22, 2019 @02:24PM (#19983975)
I dont think anybody argues that types replace documentation. However, documentation without types tends to get repetitive and requires you to come up with ways to structure it properly. Turns out, you can encode a lot of information into a type and now it can be automatically verified and frees you to write documentation for things that can not be expressed in types.

There are no comments on this comment yet.