▲ | kryptiskt 8 hours ago | |||||||||||||||||||||||||||||||||||||
It's not a substitute, an assertion only makes sure that it doesn't happen unnoticed, a proof says that it doesn't happen at all. I might prefer to know that my reactor control system has no overflow ahead of time, rather than getting an assertion and crashing if it happens (though it would be a bad reactor control system if it couldn't handle crashes). | ||||||||||||||||||||||||||||||||||||||
▲ | 0xDEAFBEAD 6 hours ago | parent [-] | |||||||||||||||||||||||||||||||||||||
OK, but that's a reactor control system. If your application has no time-critical aspect, is there any good reason to prefer a proof over an assert? | ||||||||||||||||||||||||||||||||||||||
|