Hacker News new | ask | show | jobs
by fancyfredbot 19 days ago
OP said it's like saying the code compiles, but I said formally proven correct.

Formally proven correct is a much stronger guarantee that the code meets its spec than a successful compilation.

1 comments

and op's question was "but how do you know the spec is what you want." making the guarantee stronger doesn't fix the problem. you can't fly by pulling your feet up no matter how strong you are.
That's the point I was agreeing with.

It was the analogy with compilation I didn't think was very good. Lots of code compiles but you have no idea whether it meets any kind of spec, or even if it's bug free..