logoalt Hacker News

mpyne • yesterday at 12:01 AM • 1 reply • view on HN

> The pushback from the final rejection got the committee to add the bare minimum that could help C++’s safety story.

What they added is no different in practice to what contracts already were before. If a compiler adds `-fno-contracts` then they will not be enforced, which was already the case.

But hey, if it helps C++ make it past the ISO process then it will have been a value-added change even though it's not actually any different.


Replies

locknitpicker • yesterday at 6:34 AM

> But hey, if it helps C++ make it past the ISO process then it will have been a value-added change even though it's not actually any different.

If the feature is irredeemably broken as opponents claim to be, what does a glorified rehearsal session changed?

I think this outcome is the worst outcome possible. Contracts proponents seem to have doubled down and hell bent on playing a game of political chicken. It's plausible the same proposal will be rejected again on the same grounds, with the same string of personal attacks that followed it.