Computer programming
Programming is the act of creating a computer program, a concrete set of instructions for a computer to carry out. The program is written in a programming language, although it is possible to write directly in machine code, with a certain difficulty. Different parts of a program may be written in different languages.Different programming languages work in different ways. So, programmers may create very different programs for different languages; although, theoretically, most languages can be used to create any possible program. For more information on those methods, see Programming language.
Software is a mass noun for computer programs and data.
| Table of contents |
|
2 Programming versus software engineering 3 Prehistory 4 See also 5 External links |
Programs versus algorithms
An algorithm is, in one sense, an abstracted program - to put it another way, a program is an algorithm made concrete. However, all but the smallest programs are most easily thought of as a collection of smaller algorithms combined in a unique way - as a house is built from components.
Programming versus software engineering
Creating a computer program consists of five major steps:
- Recognizing the need for a program to solve a problem.
- Planning the program and selecting the tools to solve the problem.
- Writing the program in the programming language of choice.
- Compiling: translating the human-readable source code into machine-readable executable code, which is done by compilers and other tools.
- Testing the program to make sure it works; if not, return to step 3 (see code and fix).
Prehistory
The earliest known computer programmer was Ada Lovelace, daughter of Anabella and Lord Byron (the poet). Anabella gave her love of mathematics to Ada, who after meeting Charles Babbage, translated and expanded a description of his analytical engine. Even though Babbage never completed construction of any of his machines, the work that he and Ada did on them earned her the title of the world's first computer programmer, see Ada Byron's notes on the analytical engine. The Ada programming language is named for her. (To do: find name of first programmer to complete all 5 steps, including compiling and testing.)
Alan Turing is often considered the father of computer science, and by proxy, programming. He was responsible for helping design and program a computer to break the German ENIGMA code during World War Two.
See also
- List of programming languages
- Event-driven programming
- Computer software
- Software documentation
- Computer science
- Software engineering
- Imperative programming
- Functional programming
- ARS based programming
- Cut and paste programming
- Black box testing
- Callback
- Segmentation fault
