Why not move cast to the standard library?

downs default_357-line at yahoo.de
Thu Sep 24 12:13:48 PDT 2009


language_fan wrote:
> Thu, 24 Sep 2009 13:47:21 -0400, Steven Schveighoffer thusly wrote:
> 
>> I actually prefer the compiler to handle the casting versus templates to
>> cut down on template instantiation bloat.
> 
> I wonder how D scales to 100 MLOC programs as the template instantiations 
> can be troublesome already in < 1000 LOC programs.

We write templates in < 1000 LOC programs to avoid having to write 100 MLOC :)

Also, let me categorically state: if you're writing 100MLOC programs, you're doing it horribly, horribly wrong.

No conceivable program possibly requires that much logic.



More information about the Digitalmars-d mailing list