Re: HTML是不是程式語言..
參照: http://en.wikipedia.org/wiki/Programming_language
主要關鍵句是這兩句:
A programming language is an artificial language designed to express
^^^^^^^^^^^^^^^^^^^
computations that can be performed by a machine, particularly a computer.
^^^^^^^^^^^^
Computation is a process following a well-defined model that is understood
^^^^^^^ ^^^^^^^^^^^^^^^^^^
and can be expressed in an algorithm, protocol, network topology, etc.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
至於 HTML 主要是用來"標記"文字內容, 使其在內容呈現上更友善些, 更貼近人們
的閱讀習慣. 跟"依循一個定義明確的模型, 所設計的程序"沒什麼直接的關聯.
另外 script(shell script, javascript, php script, etc) 算不算是
programming language?
當然算是, 它確實可以用來針對一個定義明確的模型, 設計計算/程序來處理事情.
※ 編輯: bobju 來自: 115.43.13.69 (08/07 13:07)
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 4 之 6 篇):