logoalt Hacker News

vhantz • yesterday at 12:25 AM • 2 replies • view on HN

They should have removed contracts and kept it in the C++29 draft. There are clearly serious concerns being papered over with a vote count. And that vote count is really not different from the previous ones so essentially "we analyzed our proposal and found we did nothing wrong". Plus there are other more elegant proposals for contracts that this closes the door on. Even if a decade was already spent on getting to this point, it's a mistake to rush this.

There really is a smaller, more beautiful language within C++ getting smothered by committee design, despite Bjarne's wishes.


Replies

account42 • yesterday at 2:55 PM

What I don't understand is why they feel the need to force contracts into C++26. It's a minor feature at best. What's so important about getting contracts this year that could warrant all this drama?

➕ show 2 replies
locknitpicker • yesterday at 6:56 AM

> They should have removed contracts and kept it in the C++29 draft. There are clearly serious concerns being papered over with a vote count.

I agree, this is the worst possible outcome. Proponents of contracts failed to address substantial concerns and invested only on "practicing" answer rounds, which means they opted to double down and bey on a petry politics showdown akin to a game of chicken.

This is exactly what ends up killing a language. Talk about shooting yourself in the foot.