Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Using (formal) specification languages doesn't guarantee a specification is "correct" either.

You have to write more code, and in a different language, but unlike just testing you can actually prove that invariants hold for all possible inputs.

Formal verification is needed to show that the code actually implements a specification. If anything, a formal specification is really good for generating test suites for the implementation code.



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

Search: