ckd: small blue foam shark (Default)
posted by [personal profile] ckd at 02:22pm on 2004-12-14
I don't think of HTML as a programming language because it doesn't have control flow; I see it as a data format.
 
posted by [identity profile] dglenn.livejournal.com at 02:53pm on 2004-12-14
It's a little more than "a data format", despite not being a programming language. I guess, if I were pinned down on the matter, I'd have to describe it as ... a "markup language"? ;-)

Similarly, there have been other languages, for printing markup, described as "page description languages". So if someone calls it a "computer language", I have to cringe and say, "Okay, sort of," because it's a languag meant to be processed by a computer, but since it doesn't do anything (it only describes), it's not a programming language.

Now I'm wondering whether some of the people who refer to HTML as a programming language merely fail to distinguish between programming languages and anything else with a syntax that has to do with computers. Hmm. How to phrase a question to test that...
ckd: small blue foam shark (Default)
posted by [personal profile] ckd at 08:34pm on 2004-12-14
"Similarly, there have been other languages, for printing markup, described as "page description languages".

PostScript is a full-blown programming language, though I'm not crazy enough to actually try to program in it.
 
posted by [identity profile] dglenn.livejournal.com at 03:46am on 2004-12-15
True, Postscript does go way beyond being merely a page description language. Variables, branches, loops, it's a programming language that just happens to have been designed for layout, not a mere markup language.
 
posted by [identity profile] weskeag.livejournal.com at 05:55pm on 2004-12-15
Which is *also* a programming language as well as a markup language. Donald Knuth has some amusing examples in the TeXBook.

Links

January

SunMonTueWedThuFriSat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24
 
25
 
26
 
27
 
28
 
29
 
30
 
31