Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
3,914,248,586 visitors served.
forum Join the Word of the Day Mailing List For webmasters
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

lines of code

   Also found in: Acronyms, Wikipedia 0.01 sec.
lines of code
The statements and instructions that a programmer writes when creating a program. One line of this "source code" may generate one machine instruction or several depending on the programming language. A line of code in assembly language is typically turned into one machine instruction. In a high-level language such as C++ or Java, one line of code may generate a series of assembly language instructions, resulting in multiple machine instructions.

Lines of Code Are Not the Same
One line of code in any language may call for the inclusion of a subroutine that can be of any size, so while used to measure the overall complexity of a program, the line of code metric is not absolute. Comparisons can also be misleading if the programs are not written in the same language. For example, 20 lines of code in Visual Basic might require 200 lines of code in assembly language.

In addition, a measurement in lines of code says nothing about the quality of the code. A thousand lines of code written by one programmer can be equal to three thousand lines by another. See KLOC.
(programming, unit)lines of code - (LOC) A common measure of the size or progress of a programming project. For example, one can describe a completed project as consisting of 100,000 LOC; or one can characterise a week's progress as 5000 LOC.

Using LOC as a metric of progress encourages programmers to reinvent the wheel or split their code into lots of short lines.


Want to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit the webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Feedback
Mentioned in?  References in periodicals archive?   Encyclopedia browser?   Full browser?
No references found
 
Depending on which lines of code are used, the tree can create a different program to respond to environmental stimuli, like drought," he added.
7 million lines of code over the past 16 months, according to a report put out by the Linux Foundation.
The CD-ROM provides 6,000 lines of code for solving 26 real-world design problems, including FORTRAN source code developed to simulate integrated step-growth polymerization processes, Polymers Plus backup files, and Aspen Custom Modeler files.
 
 
 
Encyclopedia
?

Terms of Use | Privacy policy | Feedback | Advertise with Us | Copyright © 2012 Farlex, Inc.
Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.