|
|
|
|
|
by dunk010
1017 days ago
|
|
Steve Yegge made this same point ~20 years ago: > The whole nasty "configuration" problem becomes incredibly more convenient in the Lisp world. No more stanza files, apache-config, .properties files, XML configuration files, Makefiles — all those lame, crappy, half-language creatures that you wish were executable, or at least loaded directly into your program without specialized processing. I know, I know — everyone raves about the power of separating your code and your data. That's because they're using languages that simply can't do a good job of representing data as code. But it's what you really want, or all the creepy half-languages wouldn't all evolve towards being Turing-complete, would they? Via: https://sites.google.com/site/steveyegge2/the-emacs-problem |
|
Ideally, why do I even need a nontrivial config file at all? I want more stuff that just works, and has standard interfaces to find and connect to all it's other pieces.
Even manually executing SQL to make a database is too much.
I don't want make files at all. They're only there because C/C++ doesn't handle it for you. Python doesn't need them. Node.js doesn't need them. They have build config stuff, but it's nowhere near as in depth as makefiles.
Apache is insane with all the different configurations, and how it's separate from PHP and MySQL and it all has to be configured to work together.
Lots of tools just work. They have few options, and all the important configuration options are set at runtime automatically based on input data, auto discovery, and things like that. Install and run. That's it.
If I need a full programming language to configure, then whatever I'm doing probably isn't configuration, it's more like plugin writing.