Purposes
Source code is primarily used as input to the process that produces an executable program (i.e., it is compiled or interpreted). It is also used as a method of communicating algorithms between people (e.g., code snippets in books).
Programmers often find it helpful to review existing source code to learn about programming techniques. The sharing of source code between developers is frequently cited as a contributing factor to the maturation of their programming skills. Some people consider source code an expressive artistic medium.
Porting software to other computer platforms is usually prohibitively difficult without source code. Without the source code for a particular piece of software, portability is generally computationally expensive. Possible porting options include binary translation and emulation of the original platform.
Decompilation of an executable program can be used to generate source code, either in assembly code or in a high level language.
Programmers frequently adapt source code from one piece of software to use in other projects, a concept known as software reusability.
Read more about this topic: Source Code
Famous quotes containing the word purposes:
“A material resurrection seems strange and even absurd except for purposes of punishment, and all punishment which is to revenge rather than correct must be morally wrong, and when the World is at an end, what moral or warning purpose can eternal tortures answer?”
—George Gordon Noel Byron (17881824)
“I have been reporting club meetings for four years and I am tired of hearing reviews of the books I was brought up on. I am tired of amateur performances at occasions announced to be for purposes either of enjoyment or improvement. I am tired of suffering under the pretense of acquiring culture. I am tired of hearing the word culture used so wantonly. I am tired of essays that let no guilty author escape quotation.”
—Josephine Woodward, U.S. author. As quoted in Everyone Was Brave, ch. 3, by William L. ONeill (1969)
“The purposes of the Almighty are perfect, and must prevail, though we erring mortals may fail to accurately perceive them in advance.”
—Abraham Lincoln (18091865)