Re:Contracts for C++ (DbC) [pdf]
by dataflow on Thursday November 14, 2024 @02:33AM
(#42133874)
It sounds like you're specifically talking about runtime-enforced contracts rather than ones that the compiler uses to prove compliance? Your first sentence makes it sound like you think all contracts are useless, but your last sentence makes it seem like you think they're useful if they're compile time.
[ Parent
| on HN ]
Re:Contracts for C++ (DbC) [pdf]
by johnisgood on Thursday November 14, 2024 @07:31AM
(#42135587)
Which they are (compile time) with Ada / SPARK, without any runtime costs.