operator overloading outside the type

Walter Bright newshound2 at digitalmars.com
Sat Mar 29 19:06:18 UTC 2025


On 3/29/2025 9:31 AM, Steven Schveighoffer wrote:
> One reason why I rarely propose things in D these days is because the parade of 
> C++ bogey-straw-men come out every time, which have nothing to do with the 
> proposal.

See my reply to Timon's response.

There's got to be a high bar for adding new features, each one adds more 
cognitive load to anyone trying to understand the language.

Nobody understands C++ the language, and far too many C++ code bases are 
incomprehensible.

I can empathize your frustration. My attempts to make bitfields part of the 
language are still languishing. Using them in my own work would make for 
significantly simpler and more readable code.

Fortunately, C++ left bitfields intact :-)


More information about the Digitalmars-d mailing list