※ 文章網址: https://www.ptt.cc/bbs/Soft_Job/M.1281157259.A.B29.html
Re: HTML是不是程式語言..
看板 | Soft_Job |
---|---|
作者 | bobju (寶貝豬) |
時間 | 2010-08-07 13:00:56 |
留言 | 0則留言 (0推 0噓 0→) |
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)
※ 文章網址: https://www.ptt.cc/bbs/Soft_Job/M.1281157259.A.B29.html
參照:
※ 文章網址: https://www.ptt.cc/bbs/Soft_Job/M.1281157259.A.B29.html