Article: New D language pumps up programmer productivity Options

Bill Baxter dnewsgroup at billbaxter.com
Fri Jan 18 20:03:19 PST 2008


Jascha Wetzel wrote:
> Bill Baxter wrote:
>> Walter Bright wrote:
>>> Article: http://www.linux.com/feature/124320
>>>
>>> Reddit: http://programming.reddit.com/info/65uh7/comments/
>>>
>>> Digg: 
>>> http://digg.com/programming/D_programming_language_pumps_up_programmer_productivity 
>>>
>>
>> Note in the comments how someone (not me I promise!) latches on to the 
>> specious arguments in the FAQ for why strings need to be included as a 
>> language feature.  Those dubious arguments should be removed.  A 
>> better argument is that it allows compile-time string manipulation.
> 
> i'm not argumenting against that, but i think it's rather impressive, 
> that the mere inclusion of std::string and std::vector bloats a single 
> c++ file to >480kb after preprocessing. considering the simple and 
> fundamental nature of these things, that is already bad enough for me to 
> want built-in dynamic arrays and strings.

That's a fine argument too.  But just saying "it's 4000 lines of code 
therefore it must be buggy" is weak, considering the amount of testing 
std::string and std::vector get and the amount of resources poured into 
providing STL implementations.  I'd be much more likely to believe 100 
lines of D compiler source code is buggy than 4000 lines of a mainstream 
STL, simply because the STL has had *orders of magnitude* more use than DMD.

--bb



More information about the Digitalmars-d-announce mailing list