Alan Freedman -- The Computer Language Company - Computer Desktop Encyclopedia
Computer Desktop Encyclopedia
Longest-Running Tech Reference on the Planet

A CDE Definition

You'll love The Computer Desktop Encyclopedia (CDE) for Tech Term of the Day (TTOD)


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.


(Kilo Lines Of Code) One thousand lines of programming source code. See lines of code.

Personal Use Only

Before/After Your Search Term
linear PCMlines of resolution
linear polarizationlinesman
linear programmingLinex
linear tapeLingo
linear videolingua franca
linear video editinglink
linear websitelink aggregation
linefeedlink analysis
linemanlink block
lineman's handsetlink bomb

Terms By Topic
Click any of the following categories for a list of fundamental terms.
Computer Words You Gotta KnowSystem design
Job categoriesUnix/Linux
Interesting stuffPersonal computers
InternetIndustrial Automation/Process Control
Communications & networkingAssociations/Standards organizations
HistoryDesktop publishing
ProgrammingHealthcare IT
System design