About the Expressiveness of D

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Wed Apr 3 18:47:21 PDT 2013


On Wednesday, 3 April 2013 at 19:28:56 UTC, Simen Kjaeraas wrote:
> 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.

cloc doesn't support /+ comments... But using your number, cloc, 
and some math

loc: 5843
comments: 6255
unittest: 16503
blank: 5469


More information about the Digitalmars-d mailing list