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

Everything you said about formal verification is also true about tests; do you think software is also uniquely ill suited for TDD?


I did not say that software is uniquely ill suited for formal verification. That also would be total nonsense.

I said that certain philosophies of software design are uniquely unsuited for formal verification.

Besides, tests and formal verification are different. A test is essentially a formal specification for a single point or, depending on how you test, multiple, potentially random, points. Writing or changing a test is less time intensive than writing or changing a full formal specification for an entire subsystem, therefore tests are more suited to volatile software development practices.


> therefore tests are more suited to volatile software development practices.

And having no tests is even more suited...


Maybe there are tradeoffs. If the code will never need the same thing again manual tests are good enough. Most code has things that don't change even as you add new features and so tests are valuable.




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

Search: