|
|
|
|
|
by julienzaegel
3549 days ago
|
|
(I'm the author of the aforementioned article) We tried using static verification with CodeContracts at the beginning of the project (2011). But this triggered us to litter the code with attributes dedicated to static verification only, which didn't spot many issues. The tool (which is a binary rewriter) was very slow (tripled compile time) and killed developer productivity and morale. It just wasn't worth it. We abandoned static verification, and later we abandoned CodeContracts altogether.
Maybe it works with better tools or other languages than C#, but my experience with it is bad and I don't recommend it.
With a statically typed language, maybe the best static verification tool is just the compiler. |
|