For programming in music, see Programming (music).
For the process of transferring a program to an integrated circuit see IC programming.
Computer programming (often simply programming or coding) is the craft of writing a set of commands or instructions that can later be compiled and/or interpreted and then inherently transformed to an executable that an electronic machine can execute or "run". Programming requires mainly logic, but has elements of science, mathematics, engineering, and — many would argue — art. In software engineering, programming (implementation) is regarded as one phase in a software development process.
The only programming language a computer can directly execute is machine language (sometimes called "machine code"). Originally all programmers worked out every detail of the machine code, but this is hardly ever done anymore. Instead, programmers write source code, and a computer (running a compiler, an interpreter or occasionally an assembler) translates it through one or more translation steps to fill in all the details, before the final machine code is executed on the target computer. Even when complete low-level control of the target computer is required, programmers write assembly language, whose instructions are mnemonic one-to-one transcriptions of the corresponding machine language instructions.
Different programming languages support different styles of programming (called programming paradigms). Part of the art of programming is selecting one of the programming languages best suited for the task at hand. Different programming languages require different levels of detail to be handled by the programmer when implementing algorithms, often in a compromise between ease of use and performance (a trade-off between "programmer time" and "computer time").
In some languages, an interpretable p-code binary (or byte-code) is generated, rather than machine language. Bytecode is used in the popular Java programming language by Sun Microsystems as well as Microsoft's recent .NET family of languages (MS.NET's P-Code is called the Intermediate Language or IL) and Visual Basic previous to the .NET version.
Another early use of computer programs was made using a soldering iron and a large number of vacuum tubes (later transistors). As programs became more complex, this became almost impossible, as one mistake would likely render the whole program useless. As data storage media became more advanced, it became possible to re-use one program for many things according to the content of the memory. A person would spend quite some time making punch cards that would hold a list of instructions for a computer. Every model of computer would be likely to need different instructions to do the same task. As computers became more powerful, and storage media became re-usable, it became possible to use the computer to make the program. Programmers quickly began to favor text over 1s and 0s, and punch cards were phased out. Over time, and especially thanks to the development and manufacture of Integrated Circuits, computers have become extremely powerful, and this has resulted in a branch of programming called scripting. Programming has become gradually easier as new languages are invented, but this has opened the scene to script kiddies, who are generally seen as an annoyance because of their lack of skill whilst often claiming to be hackers.
Software is a mass noun for computer programs and data. The accompanying documentation and software license are also considered an essential part of the software, even though they don't involve any actual coding.
Creating software involves:
برمجة | Programación | Programiranje | কম্পিউটার প্রোগ্রামিং | Programmierung | programación | programmeerimine | برنامهنویسی | Programmation | תכנות מחשבים | számítógép-programozás | Pemrograman komputer | プログラミング (コンピュータ) | 컴퓨터 프로그래밍 | Programmeren | Programmere | Programowanie | Programação de computadores | Программирование | Računalniško programiranje | Programmering | การเขียนโปรแกรม | Lập trình | קאמפיוטער פראגראמירונג | 程序设计
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Computer programming".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world