[OT] What are D's values?

Patrick Schluter Patrick.Schluter at bbox.fr
Tue Oct 5 14:46:16 UTC 2021

On Tuesday, 5 October 2021 at 01:33:45 UTC, Paul Backus wrote:
> Of course, this is not really true in practice. In languages 
> that don't support DbI, what actually happens is that you do 
> not write all 2^N customized versions of the code. Instead, you 
> give up on having individual customized versions for each 
> use-case and write a single version based on some 
> lowest-common-denominator abstraction. What you really lose 
> here are the benefits to performance and expressiveness that 
> come from having individually-customized versions of your code.

What really happens in other languages is either proliferation of 
code (copy/paste) or branching at runtime (if cascades, booleans 
or switch/case).
The D way may end up adding more code, but code with less 

More information about the Digitalmars-d mailing list