If D becomes a failure, what's the key reason, do you think?

Sean Kelly sean at f4.ca
Fri Jul 7 12:19:48 PDT 2006


Walter Bright wrote:
> Tesuji wrote:
>>
>> Agreed, in addition I also believe that a const-by-default C++ like 
>> reference
>> type is needed before any container library (like DTL) can be effectively
>> written. Currently D is lacking in this area where C++ is strongest. 
>> relying
>> solely on built-in array / hash is hardly the solution.
> 
> I don't understand why either of these would *prevent* effective 
> libraries from being built. Neither enables new programming techniques 
> or paradigms, they are just aids to documentation and debugging.

I think this is largely useful for self-documenting code and for 
catching mistakes that could be extremely difficult to track down 
through debugging.  As you say, nothing actually *requires* const support.


Sean



More information about the Digitalmars-d mailing list