The Case Against Autodecode

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue May 31 10:23:02 PDT 2016


On 05/31/2016 01:15 PM, Jonathan M Davis via Digitalmars-d wrote:
> The standard library has to fight against itself because of autodecoding!
> The vast majority of the algorithms in Phobos are special-cased on strings
> in an attempt to get around autodecoding. That alone should highlight the
> fact that autodecoding is problematic.

The way I see it is it's specialization to speed things up without 
giving up the higher level abstraction. -- Andrei


More information about the Digitalmars-d mailing list