from Hacker News

Configuration files suck. Just use a programming language

by xvirk on 3/6/17, 9:39 AM with 3 comments

  • by dozzie on 3/6/17, 10:11 AM

    No, please don't. Configuration file should be declarative and passive. You should be able to generate and load such file from any other language (for reporting, for detecting what things are configured, stuff like that). Programming language embedded in a configuration file makes the config unreadable.