Stroustrup objects to adding Contracts to C++

Walter Bright newshound2 at digitalmars.com
Wed Nov 11 22:05:03 UTC 2026


I suspect you are correct.

But keep in mind that D can do everything C can. The proof is it's very easy to 
convert C code to D code, I know this because I've done a lot of it (hell, 
ImportC does it mechanically, too!). The algorithms and structures in C do not 
need to be re-designed. It's a 1:1 correspondence.

There's no reason AI needs to use templates, etc., when generating code.


More information about the Digitalmars-d mailing list