Home TechnologyContracts are in C++26 despite disagreement over t...
Technology⭐ Featured

Contracts are in C++26 despite disagreement over their value

Inventor Bjarne Stroustrup argues feature is neither minimal nor viable The ISO C++ committee (WG21) has approved the C++26 standard, described by committee member Herb Sutter as the most compelling release since C++11, and including Contracts, despite opposition to the feature from C++ inventor Bjarne Stroustrup, among others.…

6 April 2026 at 05:47 pm
1 views
Contracts are in C++26 despite disagreement over their value

The ISO C++ committee, known as WG21, has recently approved the C++26 standard, a significant milestone in the evolution of the programming language. This update is being hailed as one of the most compelling releases since C++11, thanks to its inclusion of new features and improvements. However, the approval of the standard has not been without controversy, as some prominent figures in the C++ community, including the language's inventor Bjarne Stroustrup, have expressed disagreement over the inclusion of certain features, particularly the Contracts feature.

The Contracts feature, which aims to enhance code readability and maintainability by providing clearer specifications for functions and methods, has been a point of contention. Bjarne Stroustrup, who is widely recognized as the creator of C++, has publicly argued that the Contracts feature is neither minimal nor viable. He believes that the addition of this feature could potentially complicate the language and introduce unnecessary complexity for developers.

Despite Stroustrup's reservations, the ISO C++ committee has decided to proceed with the inclusion of Contracts in the C++26 standard. This decision was made after thorough deliberation and evaluation of the potential benefits and drawbacks of the feature. The committee members, including Herb Sutter, a well-respected member of the C++ community, have expressed their enthusiasm for the Contracts feature, believing it to be a valuable addition that will improve the language's capabilities.

The approval of the C++26 standard with the Contracts feature highlights the dynamic nature of language evolution. While some developers and experts may disagree with certain decisions, the ISO C++ committee strives to balance the need for innovation with the importance of maintaining backward compatibility and ensuring the language remains accessible to a wide range of users.

The inclusion of Contracts in C++26 is just one example of how the language continues to evolve to meet the demands of modern software development. As the standard is adopted by developers around the world, it will be interesting to observe how the Contracts feature is received and utilized in practice.

In the years since the initial release of C++, the language has undergone numerous revisions and updates, each designed to address specific pain points and improve the overall developer experience. The C++26 standard, with its blend of established features and innovative additions, represents another step forward in this ongoing journey of refinement and improvement.

While Bjarne Stroustrup's concerns about the Contracts feature may not align with the views of the ISO C++ committee, his input serves as a reminder of the importance of open dialogue and critical evaluation in the development of programming languages. Ultimately, the success of any language update depends on the ability of the community to adapt and embrace new ideas, even when they may not be universally accepted.

As developers continue to work with and contribute to the C++ ecosystem, the inclusion of the Contracts feature in C++26 will undoubtedly shape the way software is written and maintained in the years to come. The debate surrounding this feature underscores the dynamic and evolving nature of programming languages and the ongoing efforts to create tools that are both powerful and user-friendly.

In conclusion, the approval of the C++26 standard, including the controversial Contracts feature, marks a significant development in the history of the C++ language. While some may disagree with the decision to include this feature, the ISO C++ committee's commitment to innovation and improvement is evident in the standard's comprehensive set of updates. As the C++ community adapts to these changes, it will be fascinating to see how the Contracts feature is adopted and integrated into everyday programming practices.

📰 Related News
Ekaya Banaras Founder Palak Shah’s ₹40 Lakh Billboard Mistake Became a Masterclass in Startup Marketing
Ekaya Banaras Founder Palak Shah’s ₹40 Lakh Billboard Mistake Became a Masterclass in Startup Marketing
Ekaya Banaras founder Palak Shah recently opened up about one of the most expensive mistakes she made while building her luxury textile brand. During the early years of the company, Shah rented a premium billboard near Delhi’s DLF Emporio to increase brand visibility. However, after forgetting to cancel the campaign, the hoarding reportedly continued running for months — resulting in losses of nearly ₹40 lakh. The incident has now become a viral example of how small operational oversights can turn into costly business lessons for startups and entrepreneurs.
28 May
Betting On AI: Jensen Huang And NVIDIA’s Rise To The Top
Betting On AI: Jensen Huang And NVIDIA’s Rise To The Top
Before AI was inevitable, it was a gamble—and Jensen Huang went all in.
14 Apr
Red Hat OpenShift sandboxed containers 1.12 and Red Hat build of Trustee 1.1 bring confidential computing to bare metal and AI workloads
Red Hat OpenShift sandboxed containers 1.12 and Red Hat build of Trustee 1.1 bring confidential computing to bare metal and AI workloads
Red Hat is excited to announce the release of Red Hat OpenShift sandboxed containers 1.12 and Red Hat build of Trustee 1.1, marking a major leap forward in our confidential computing journey. These releases graduate confidential containers on bare metal from …
14 Apr
Large AI firms hoovering maximum funding, not enough for smaller startups: Y Combinator’s Ankit Gupta
Large AI firms hoovering maximum funding, not enough for smaller startups: Y Combinator’s Ankit Gupta
YC Startup School: India’s talent pool across colleges and universities are key for building next-gen startups, which is what YC is looking to tap into. It wants to target entrepreneurs building for global markets, focussed on fintech, consumer, B2B, and ecom…
14 Apr
TSMC likely to book fourth straight quarter of record profit on insatiable AI demand
TSMC likely to book fourth straight quarter of record profit on insatiable AI demand
TSMC-RESULTS/ (PREVIEW, PIX):PREVIEW-TSMC likely to book fourth straight quarter of record profit on insatiable AI demand
14 Apr
TSMC likely to book fourth straight quarter of record profit on insatiable AI demand
TSMC likely to book fourth straight quarter of record profit on insatiable AI demand
Any profit result ‌above T$505.7 billion would mark the company's highest-ever quarterly net income ​and its ninth consecutive quarter of profit growth
14 Apr
TSMC likely to book fourth straight quarter of record profit on insatiable AI demand
TSMC likely to book fourth straight quarter of record profit on insatiable AI demand
On Thursday, ​TSMC is expected to report a net profit of $17.1 billion for the quarter, according to an LSEG SmartEstimate compiled from 19 analysts. The war in the Middle East threatens to disrupt the supply of production materials for semiconductors such as…
14 Apr
If we can’t kick the habit, how do we manage AI’s energy needs?
If we can’t kick the habit, how do we manage AI’s energy needs?
One can only hope that OpenAI’s Sam Altman was joking when he sought to justify the immense energy consumption of artificial intelligence
14 Apr
What caused Nvidia Blackwell GPU prices to spike? #tech
What caused Nvidia Blackwell GPU prices to spike? #tech
Blackwell GPU hourly “rent” surges on agentic AI demand A compute pricing index tracking hourly costs for Nvidia Blackwell GPUs shows a sharp climb: hourly rental hit $4.08 , up 48% from $2.75 just two months earlier. The reported driver is rising demand tied…
14 Apr
Anthropic Releases Claude Mythos Preview with Cybersecurity Capabilities but Withholds Public Access
Anthropic Releases Claude Mythos Preview with Cybersecurity Capabilities but Withholds Public Access
Anthropic has introduced Claude Mythos Preview, its most advanced AI model, improving significantly in reasoning, coding, and cybersecurity. Unlike previous releases, it will not be publicly available. Access is limited to a consortium of tech companies throu…
14 Apr