💻 Programming Languages

C++26 Locks in Contracts—Even as Stroustrup Calls Them a Mess

Everyone figured C++26 would trim the fat after years of bloat. Instead, it stuffs in Contracts—a feature its own creator slams as unminimal and unusable.

ISO C++ committee approving C++26 standard with Contracts feature amid dissent from Bjarne Stroustrup

⚡ Key Takeaways

  • C++26 approved with Contracts despite Stroustrup's strong opposition, 114-12 vote. 𝕏
  • Feature promises safer code via preconditions/postconditions, but criticized as complex and unviable. 𝕏
  • Other wins: compile-time reflection, memory safety improvements, std::execution framework. 𝕏
Published by

theAIcatchup

Community-driven. Code-first.

Worth sharing?

Get the best Open Source stories of the week in your inbox — no noise, no spam.

Originally reported by The Register - DevOps

Stay in the loop

The week's most important stories from theAIcatchup, delivered once a week.