Lightweight Static Guarantees
okmij.org
okmij.org
Because we are lazy or overworked?
The last time I wrote C, I had asan and ubsan and valgrind running in CI.
JS (for example) has a bunch of 3rd-party type checkers (typescript, flow), and they're huge projects. And flow is even written in ocaml.
I've written static verification of non-type properties when my team absolutely needed it and it's never easy -- even things like AST walking can be rough and non-standard.
Would def try a language that had BYO static checks as a first-class concepts. Code generation is the closest thing to this IMO in widely used languages and even that is clunky in most places (go:generate, I'm looking at you).
http://blog.audio-tk.com/2018/03/20/writing-custom-checks-fo...