Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

People have tried every point on the JSON-to-full-programming-language spectrum, I put some examples in this post: https://blog.ometer.com/2015/09/07/json-like-config-a-spectr...

JSON5 is new since that was written I think... there are a bunch more of them too.

As part of the team at lightbend that came up with HOCON I still like it because it lets you use env variables (handy for Docker, Heroku, etc) and has some don’t-repeat-yourself capability without going to a full programming language.

(If you’re going full language, to me why not use a real one, maybe the one your app is written in... but there are definite tradeoffs to using a language, like difficulty writing automation that understands the config, and it assumes anyone changing config is a full-blown developer)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: