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

For python apps (whether we should use python for apps is another question completely) my preferred config language is python.

A little config.py file gets imported by everything in the project. It contains nothing but assignments to config variables. No functions. Nothing dragged in from a file. Just variable assignments.

It's easy to understand, easy to update, and everyone understands this much python.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: