▲ | pjmlp 2 days ago | |
See Design By Contract, and the language that brought its ideas into mainstream, Eiffel. What D or C++26 can do, is a subset of Eiffel capabilities, or more modern approaches like theorem proving in tools like Ada/SPARK, Dafny, FStar,... | ||
▲ | scrubs 2 days ago | parent [-] | |
Beat me to it. Eiffel et al have been at the party for a while now. |