I do think that turing complete configuration have their place in very limited circumstances. For example, I use a window manager called Awesome WM that is configured with Lua, and that allows me to implement my own features into the WM while configuring it. The significant disadvantage here is that Awesome WM exposes a very large API surface to the configuration file, making it very likely that your configuration will break with a new release, and writing an automatic migration would be significantly more difficult than if it were a configuration file.
It makes it impossible to implement a parser and evaluator for the format > in a different language. Which should always be possible for a config file > format. > This problem can be partially addressed by using a language like Lua that has a very small C interpreter library and can be called from a variety of languages, but I appreciate your point. > > -- > Kurtis Rader > Caretaker of the exceptional canines Junior and Hank > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD8Qi8JFA4WSCU7TLuXmgjx-WcAzJcuDdV08XSwz%2Bicziw%40mail.gmail.com > <https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD8Qi8JFA4WSCU7TLuXmgjx-WcAzJcuDdV08XSwz%2Bicziw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAA%3DXfu3%3DQgaWDXCc9MWxOaRkYYwYg7_Ka%2BpoNLYs8CjgK%2B0QMA%40mail.gmail.com.
