About the Expressiveness of D

Simen Kjaeraas simen.kjaras at gmail.com
Wed Apr 3 12:28:33 PDT 2013


On 2013-04-03, 20:04, Jonathan M Davis wrote:

> On Wednesday, April 03, 2013 19:59:37 Brad Anderson wrote:
>> Perhaps 34k is too large but 2k is laughable.
>
> I really should strip out the unit tests and documentation to see what  
> the
> line count of actual code is, as something like 75% of that is unit  
> tests and
> documentation, and IIRC, std.datetime provides most of the functionality  
> that
> Boost does plus some more, though it does some weird, complicated stuff  
> with
> its header files from what I recall. I'd hate to be the maintainer of  
> Boost's
> datetime stuff.

Removed all comments, unittests, and empty lines from std.datetime. File
went from 34070 to 5843 lines.


-- 
Simen


More information about the Digitalmars-d mailing list