Our template emission strategy is broken

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 11 17:21:18 PST 2015


On 11/11/2015 06:06 PM, Martin Nowak wrote:
> On Wednesday, 11 November 2015 at 16:25:34 UTC, Andrei Alexandrescu wrote:
>> A redesign of template instantiation is necessary, and Walter needs to
>> be fully involved in it. However, please give it time.
>
> I'd still opt to first refactor the existing code into something that's
> understandable before starting to redesign the whole topic. Maybe the
> design is already fine but buried by complex to understand control flow.
> Also just redesigning this on a blank sheet will easily miss important
> edge cases. And last but not least if we can't come up with a better
> design we'd still have a better codebase.

We have to come up with a better design. Not coming with a better design 
is not an option. Also there is ample evidence that the months-long 
process of patching things as problems are found does not work. -- Andrei


More information about the Digitalmars-d mailing list