Re:Ask HN: What is your best advice for a developer to write...
by StrykerKKD on Wednesday June 29, 2016 @03:26PM
(#12004080)
I don't despair, because I know that to prove correctness of a program you need to use math.
For example proof assistants(like Coq, Agda, Idris, hol) are capable of proving correctness of a program.
Good test vectors are a great investment, as are constraint checks and supporting instrumentation of said constraint checks.