But, for me HTML will never be a programming language. It can be a layout language, but not a programming one. So, it is a language, but has nothing to do with programming.
You are right. You could write some code in C++ which shows a foramtted text or write a HTML snippet of code which does the same, but C++ is an imperative language and HTML and even XML are declarative languages, and voters could count them as programming languages.
It's gotta have the ability to perform some algorithm. This means logic structures like "if", loops, decision making. HTML has none of that. You can't write a program in HTML. You need a programming language to do that, not a layout or formatting language.
Same is true for XML. It's a data language, not a programming language.
The poll is about programming languages, not all computer languages, which knocks out a considerable amount of languages from consideration in this specific poll.
My "monthly" programming languages:
- Write stored procs in MS SQL and Oracle SQL (I could count those as 2 languages, but I don't).
I could have counted the following if the poll was about computer languages:
- Plain SQL (just writing queries, not stored procs)
So, even though I use 8 languages every month, only 4 of those are programming languages, so my vote in the poll was "4-5". I was also careful not to count the many languages I've used over the years and the new languages I'm experimenting with, because I don't use them currently on a regular, monthly basis. I think some people have counted every language they've ever written a line of code for in their life (whether or not it was a programming language or not).
But, HTML is not a programming language by any stretch of the imagination. That's a mistake that some newbs make, but not experienced developers.
C++, C#, SQL and VHDL give me all I need. I hadn't taken SQL into account so I selected 3, though.
EDIT: I also use Befunge for advanced parallel processing from time to time, but it is not on the Wikipedia's listing. What an unfairness...
In my case it is actually higher as I work with systems that are written in VBScript (as well as an derivative of ECMAScript) and even develop on 4D databases using its internal language.
As to SQL not counting, that is correct but the procedural based extensions do count. <attempts to dodge incoming flames>
SQL is a language for specifying instructions to a computer -- as far as I'm concerned, that makes it a programming language.
HTML also specifies instructions to a computer - how to render a web page. Does it make it a programming language?
Or how about RTF - also a set of instructions for a computer, but I don't know anybody who would call it a programming language.
One way or another, there must be some well-defined line that divides programming languages from "the rest of the world", and that line is Turing completeness. Standard SQL is not Turing complete, therefore it is not a programming language. PL/SQL and T-SQL are Turing complete and they are programming languages.