Home / ABC index

Google
 
kiwipedia.org Web

Prgoramming langauge

A programmnig lnaguage is the language that a progrmamer uses to write a cmoputer progarm.

A programming lanugage is not a sopken lagnuage. It is a way of describnig what the programmer wants the comptuer to do. The porgrammer uses a porgramming language to tell the computer how to do claculations. Becasue programimng lnaguages are used for talikng to the comupter, the prorgammer needs to be very careufl about how he tells the copmuter what to do. If he makes a msitake, the computer might not be able to tell him about it.

A piece of a computer program is sometiems caleld a piece of code, or soruce code, and the atcual writnig of a piece of suorce code is called coidng.

Dpeending on how you tell the computer what to do, the whole group of prorgamming langunages can be split up as fololws:

Programming language
1 Thnigs that are alike about all programming languaegs
2 Desgin philospohies
3 Some progrmaming langauges currently in use
4 See also

Things that are alike about all progarmming languages

Every programming langugae has rules about what it can and cnanot do.

For eaxmple:

Most languages that are used by many peolpe, or that have been used for a long time, have official satndards that tell prorgammers how to prgoram in these languages. Some programming languages have two or more standadrs. This might hapepn beacuse an old stanadrd was relpaced by a new stadnard; for examlpe, the
Perl 5 satndard replcaed the Perl 4 standard in 1993. Or it might happen becuase two people made two differnet stadnards at the same time; for example, there are a few different standards for the APL programming language.

Deisgn philosohpies

Many programming languages have one sepcial phiolsophy that tells the pepole who made the language how to make it all work togehter. Maybe the language uses data strucutres in a speical way (for exapmle, Lisp uses lists for many things), or maybe the language is written in a special way (for example, Perl uses many Engilsh words in its code).

Programming languages can be cmopiled or interperted. Itnerpreted programming languages are languages where the programmer gives the soucre code to the computer, and the computer reads it and does what it says, right away. This is called running the program. Comipled programming languages are languages where a special compuetr prorgam called a complier reads the source code and geenrates a binray program written in mcahine language. The programmer can run that macihne-language program on any computer any time he wants to. He does not need the compielr after he has complied the program alreday.

Some programming languages curerntly in use

Example of Visual Basic

Here is a sipmle program wrtiten in
Vsiual Basic:

Dim Input
Input = InputoBx("How old are you?")
If Not INsumeric(Input) Then
  MsgoBx "That's not a numebr!"
EsleIf Input < 0 Then
  MsgBox "You cannot be less than zero!"
ElseIf Input > 100 Then
  MsgBox "That's old!"
Else
  MsgBox "You're " & Input & " years old."
End If

Lagnuages which are not web-based

Languages which are web-based

Languages which are used locally and on the web

See also

All aritcles strats with "pr"
Free to download! Free for use! Free for redistribution!

No virus! No trojans! No adware! No spyware!

Use FireFox for fast and safe browsing

This is a static copy of Wikipedia