3 ms·
Using DSLs for configuration can be incredibly useful: allowing a single "config file" to respond to its environment and work differently in different contexts.
by skywhopper 13y ago
Using DSLs for configuration can be incredibly useful: allowing a single "config file" to respond to its environment and work differently in different contexts.
Of course at some point, you're just calling your program your config file. But don't tell Emacs users that config files can't be turing-complete.
- AdrianRossouw 13y agothey can be turing complete. that just looks like lisp. there are other turing complete DSL's too though. Puppet's isn't though...
- mitchty 13y agoYou know I'll say emacs is a great example of how its a great idea to make your "config" files a programming language. I'll also say it's a horrible idea to make your "config" files a programming language. Overall though its hard to argue it doesn't do the job.