Sorry for bringing up an old thread, but it's better than starting a new one on the same subject(and besides, it was near the top anyway, since someone voted on the poll).
Ok... Here is the start of Adam's arguments...
- programming language
n. An artificial language used to write instructions that can be translated into machine language and then executed by a computer.
According to this, a list of requirements:
- Must be a language.
- Must be able to write instructions to the computer.
- The computer must be able to interpret these instructions and execute them.
Now, let us see how HTML fits in:
- HTML is a language.
- HTML gives the computer instructions on where and how to render elements on the screen.
- The computer takes the HTML and places each element in it's rightful place.
Now, if HTML is not a programming language and JavaScript is, then tell me the difference between these two lines. What makes the second programming and the first not?
1.
<a href="http://www.yahoo.com">Yahoo!</a>
2.
<a href="http://www.yahoo.com" onclick="document.location=\"http://www.yahoo.com\"; return false;" >Yahoo!</a>
How is it possible that two lines that function exactly the same in the rendering program(ie, the browser) are separated by the "programming/not programming language" barrier?
Also, a programming language is only what the interpreter makes it. I could create a new browser that uses PHP as the HTML, basically, by your logic, making PHP not a programming language.
Here's what I'm getting at:
In the above link example, the exact same thing is done with both JavaScript and HTML, therefore, in this use, they must both be either a programming language or not a programming language. I say that they are(I mean, good grief, one of them uses objects ), and if someone states otherwise, please give your reasons for disagreeing.
Some food for thought, at least.