At what point does a config file become a programming language?

后端 未结 18 1413
清酒与你
清酒与你 2021-01-29 18:27

I have been mulling over config files and their relationship to code for a while now and depending on the day and direction of the wind my opinions seem to change. More and mor

18条回答
  •  猫巷女王i
    2021-01-29 18:32

    I'll be the contrarian and submit it's only a language when it embodies more than can be represented by XML; or else when XML is considered to be a language.

    Alternatively, most config files can be thought of as classes, but with only properties and no methods. And without methods, I don't think it's a language.

    Ultimately, "language" is a squishy abstraction, but yes, the edges are ambiguous.

提交回复
热议问题