C is Brittle D is Plastic

user1234 user1234 at 12.de
Mon Mar 23 15:12:53 UTC 2026


On Sunday, 22 March 2026 at 04:47:41 UTC, Walter Bright wrote:
> [...]
> Working on D shows that there is no reason for the C and C++ -> 
> operator to even exist, the . operator covers both bases!

Yes from the user POV. From the compilers-details POV I think 
that semantics checks for that are awfully complex. Add to this 
your system of UFCS. Boom, 1000 lines of code to desintricate 
what the programmer really meant.

However that's certain that once implemented properly it's 100% 
profit for hundreds of programmers.


More information about the Digitalmars-d mailing list