News for hackers. Stuff that matters.
Re:C++26 Disapproved by btown on Tuesday November 03, 2026 @10:48PM (#50361305)
https://www.cppstories.com/2026/cpp26_contracts/ is IMO a better introduction.

cppreference is often a bit too technical for its own good :)

But I think there's a broader issue which is that if it took me multiple searches to find a good-enough visual "pitch" for what contracts look like in practice, its champions have not yet won hearts and minds - which brings us to the situation at hand.

Re:C++26 Disapproved by bionhoward on Tuesday November 03, 2026 @10:57PM (#50361346)
Oh im not a c++ guy but that actually looks pretty awesome because it’s like Hoare logic