Parallel Rogue-like benchmark

Walter Bright newshound2 at digitalmars.com
Fri Aug 23 22:13:56 PDT 2013


On 8/23/2013 9:58 PM, H. S. Teoh wrote:
> On Fri, Aug 23, 2013 at 08:25:20PM -0700, Walter Bright wrote:
>> On 8/23/2013 7:10 PM, Jesse Phillips wrote:
>>> If we decided that 2 lines was how we do formatting,
>>
>> In general, I regard a "line of code" as one statement or one
>> declaration. Comments don't count, nor does cramming 3 statements into
>> one line make it one LOC.
>>
>> Of course, you can still game that, but if you're reasonable then it
>> is a reasonable measure.
>
> I am still skeptical of LOC as a reliable measure of language
> complexity. How many LOC does the following code have?

Like I said, you can still game it. I think some common sense applies, not a 
literal interpretation.



More information about the Digitalmars-d mailing list