"Line Of Code" How do you define what one is?

  • (3 Pages)
  • +
  • 1
  • 2
  • 3

31 Replies - 6481 Views - Last Post: 21 November 2012 - 12:54 PM

#31 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7807
  • View blog
  • Posts: 13,201
  • Joined: 19-March 11

Re: "Line Of Code" How do you define what one is?

Posted 20 November 2012 - 06:13 AM

View PostAdamSpeight2008, on 20 November 2012 - 04:23 AM, said:

Clarity how do you define and measure that?
Is there an equation that produce say a clarity score? Where a score of zero in the is no "clarity" Isn't that intangible and subject to whim and fancy?


It's ironic that this is your objection, considering that we haven't yet got a way of measuring lines of code or even a hint of what this measurement would indicate about the code.

No, there isn't an equation which captures clarity. Nor can you quantify happiness, intelligence, or wisdom, but we still find those to be worthwhile goals, or at least worthwhile desiderata.
Was This Post Helpful? 0
  • +
  • -

#32 wordswords  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 76
  • View blog
  • Posts: 272
  • Joined: 17-December 11

Re: "Line Of Code" How do you define what one is?

Posted 21 November 2012 - 12:54 PM

You can have a code generation utility or IDE macro that generates huge amounts of lines of code from one template. So you can't even say that the possibility of human error is higher in codebases with more lines of code.
Was This Post Helpful? 2
  • +
  • -

  • (3 Pages)
  • +
  • 1
  • 2
  • 3