Hacker News new | ask | show | jobs
by skywhopper 4453 days 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.

2 comments

You 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.

they can be turing complete. that just looks like lisp.

there are other turing complete DSL's too though. Puppet's isn't though...