Microsoft Store
 

Code (computer programming)


 

In computer programming, the word code refers to instructions to a computer in a programming language. In this usage, the noun "code" typically stands for source code or machine code, and the verb "to code" means to write source code, to program. This usage may have originated when the first symbolic languages were developed and were punched onto cards as "codes".

Related Topics:
Computer programming - Instruction - Programming language - Source code - Machine code

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Engineers often use the word "code" to mean a single program. They might say "I wrote a code" or "I have two codes". This typically inspires wincing among the literate software engineer or computer scientist. They would rather say "I wrote some code" or "I have two programs". Since English allows virtually any word to be used as a verb, a programmer, or coder might also say I coded a program; but, since a code can stand for multiple concepts, that coder might say I hard-coded it right into the program, as opposed to the metaprogramming model, which might allow multiple re-uses of the same piece of code to accomplish multiple goals. Thus, the coder might instead soft-code a concept, which ensures that it will have a longer lifespan than a hard-coded concept.

Related Topics:
Program - Software engineer - Computer scientist - Programmer - Coder - Metaprogramming - Concept - Lifespan

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

"soft-code" and "hard-code" -- do we need a better definition here ?

~ ~ ~ ~ ~ ~ ~ ~ ~ ~