I dun a DIP, possibly the best DIP ever

Walter Bright newshound2 at digitalmars.com
Fri Apr 24 20:23:09 UTC 2020


On 4/24/2020 1:54 AM, Simen Kjærås wrote:
>> Operator overloads don't change it.
> 
> Sure they do - just think of expression templates.

We're not adding features to support expression templates with tuples.

ETs were "discovered" in the early aughts, and caused great excitement in the 
C++ community. Lots of articles, presentations, and projects were done using ETs.

Then ... nothing. They just vanished from the conversation. The problem is they 
were ugly, clumsy, incomprehensible to debug, incredibly slow to compile, did 
not work at scale (blowing up the compilers) and impossible to work with if you 
weren't an expert.

They're a failed experiment.



More information about the Digitalmars-d mailing list