logoalt Hacker News

dataflow • yesterday at 11:43 PM • 3 replies • view on HN

Aren't contracts usable as a safety and correctness feature, both of which are super important right now?


Replies

Conscat • today at 6:09 AM

Any form of contracts that are inferior to contracts in other languages, like Verus or Creusot, is a failure at accomplishing this goal.

legobmw99 • yesterday at 11:57 PM

They weren’t in the DIS that was voted down, because you could pass a flag that simply turned all of them off. One of the amendments passed in this is a way to write a contract assertion which must be enforced

➕ show 2 replies
account42 • today at 8:32 AM

They are glorified assert()s. I would hardly call a fancy assert super important any time.