Hacker News new | past | comments | ask | show | jobs | submit login

I'd prefer to use .js for configs.



This is why other people are suggesting that this is close to a reimplementation of Lisp - what you want by using a .js for your config is the right to use any kind of dynamic definition that suits your needs down the line, and have the application consume that config through some standard function call(s). When lists are code are lists, it's easy to make anything infinitely dynamic.


Wanna get crazy, here's a PHP .INI configuration system. =) https://github.com/ellisgl/GeekLab-INIConf




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

Search: