.yaml 和 .yml 擴展名有什麼區別? [複製] - What is the difference between .yaml and .yml extension? [duplicate]

問題:

This question already has answers here : 這個問題在這裏已經有了答案
Closed 2 years ago . 2年前關閉。

I read them on YAML-wikipedia but not really understood the main difference between them.我在YAML-wikipedia上閱讀了它們,但並沒有真正理解它們之間的主要區別。 I saw there are someone using .yaml extension, however, Symfony2 use .yml extension.我看到有人使用.yaml擴展名,但是, Symfony2使用.yml擴展名。

YAML is a human-readable data serialization format that takes concepts from programming languages such as C, Perl, and Python, and ideas from XML and the data format of electronic mail. YAML是一種人類可讀的數據序列化格式,它借鑑了 C、Perl 和 Python 等編程語言的概念,以及 XML 和電子郵件數據格式的思想。

YAML is a recursive acronym for "YAML Ain't Markup Language". YAML是“YAML Ain't Markup Language”的遞歸首字母縮寫詞。 Early in its development, YAML was said to mean "Yet Another Markup Language",[3] but it was then reinterpreted (backronyming the original acronym) to distinguish its purpose as data-oriented, rather than document markup.在其開發的早期,據說 YAML 的意思是“另一種標記語言”,[3] 但它隨後被重新解釋(將原始首字母縮略詞)以區分其目的是面向數據,而不是文檔標記。

So, how exactly the different between .yaml and .yml ?那麼, .yaml.yml之間.yaml .yml不同? When should we prefer one over the other?我們什麼時候應該更喜歡一個?


解決方案:

參考一: https://en.stackoom.com/question/1VRAe
參考二: https://stackoom.com/question/1VRAe
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章