Re: HTML是不是程式語言..
※ 引述《bobju (寶貝豬)》之銘言:
: 參照: http://en.wikipedia.org/wiki/Programming_language
: 主要關鍵句是這兩句:
: A programming language is an artificial language designed to express
: ^^^^^^^^^^^^^^^^^^^
真要拿這頁來討論的話,重點應該是這句:
Some, but not all, authors restrict the term "programming language" to
those languages that can express all possible algorithms.[1][2]
[2] In mathematical terms, this means the programming language is
Turing-complete MacLennan, Bruce J. (1987). Principles of Programming
Languages. Oxford University Press. p. 1. ISBN 0-19-511306-3.
很明顯的,如果你認為程式語言必須是 Turing-complete(這可是有嚴謹定義的),
那麼 XML/HTML/SQL 自然都不能算是程式語言,像TIOBE Index 就是採用這個定義。
但也並不是所有人都認為程式語言必須要是 Turing-complete……
所以,真要討論這個問題的話,應該要先定義程式語言到底包不包含非 Turing-complete
的東西唄。
--
~ 白馬帶著她一步步地回到中原。白馬已經老了,只能慢慢地走,
'v' Brian Hsu 但終是能回到中原的。江南有楊柳、桃花,有燕子、金魚……
// \\ ( 墳 墓 )
/( )\ 但這個美麗的姑娘就像古高昌國人那樣固執。 【白馬嘯西風】
^`~'^
http://bone.twbbs.org.tw/blog 『那都是很好很好的,可我偏不喜歡。』
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.32.43.126
→
08/09 10:33, , 1F
08/09 10:33, 1F
→
08/09 10:35, , 2F
08/09 10:35, 2F
→
08/09 10:35, , 3F
08/09 10:35, 3F
→
08/09 10:36, , 4F
08/09 10:36, 4F
推
08/09 10:59, , 5F
08/09 10:59, 5F
→
08/09 10:59, , 6F
08/09 10:59, 6F
→
08/09 11:03, , 7F
08/09 11:03, 7F
→
08/09 11:04, , 8F
08/09 11:04, 8F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 5 之 6 篇):