About the Expressiveness of D

SomeDude lovelydear at mailmetrash.com
Thu Apr 4 22:48:34 PDT 2013


On Tuesday, 2 April 2013 at 23:55:19 UTC, Jesse Phillips wrote:
> On Tuesday, 2 April 2013 at 17:33:13 UTC, Walter Bright wrote:
>> On 4/2/2013 2:53 AM, Joseph Rushton Wakeling wrote:
>>> I also have a strong feeling that LOC per commit reflects too 
>>> many different
>>> factors to be really reliable as a comparison, e.g. it 
>>> probably depends quite
>>> strongly on the age/maturity of a project, the rate of 
>>> development, and other
>>> factors.
>>
>> Consider also that this LOC numbers are not lines of code - 
>> they're also lines of comments! D's ddoc encourages writing 
>> considerably more lines of comments than C does.
>
> While I don't know what this specific report used, but comments 
> are generally factored out of LOC and have their own count.
>
> I usually find the build in unittests to cause more skew since 
> those are counted as LOC.

He certainly didn't factor out comments for all languages, 
meaning that he didn't do it at all.


More information about the Digitalmars-d mailing list