logoalt Hacker News

jeanpah • yesterday at 4:34 PM • 1 reply • view on HN

I remember languages like Casl and vdm, But they where harder to implement and very complex, You mean something like those languages ?


Replies

pixl97 • yesterday at 4:39 PM

>But they where harder to implement and very complex

This is the general trade off for being correct. Being mostly right is easy, but leads to complex security issues later. Being correct is very hard, but should reduce the number of flaws to a manageable level.

I think Lean or Ada would be examples of different types of correctness contracts.

➕ show 1 reply