Hacker News new | past | comments | ask | show | jobs | submit login

Whenever I read a post like this I have to wonder: was there as much resistance to writing tests for your code before that became common practice? Many of the arguments seem to apply to test driven development in the same way as they do to formal verification: - You have to go over every single line of code (to show full functional correctness|to achieve full test coverage). - The amount of code that goes into (verifying|testing) an application is on the same order of magnitude as the application itself! - There are still bugs in (unproven|untested) parts of the application! - It's not perfect, so why should we use it at all?

At the end of the day, formal verification is slowly but surely becoming mainstream. Whether through more advanced type systems, static analysis, domain specific model checking, or through interactive theorem proving. We're finally at the point where whole program verification is starting to become realistic for some domains and it will only become easier from here.

---

As for the article itself, others have already pointed out some specific problems. Let me just add one more: Simulation proofs do not scale, but are far from the only option. I would encourage you to look into more high level verification techniques using axiomatic semantics, such as Iris in Coq.




Is this serious question? Yes, people are still saying the same thing about test-driven development.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: