Hacker News new | ask | show | jobs
by wdroz 1457 days ago
In python, I just go with "config.py".
2 comments

I only do this for configurations that aren't meant to be used by non-programmers. I don't want to have to explain for the billionth time that something like the path "C:\New Folder" isn't going to work as-written in a string literal, or that the name "type" is already taken.
Yeah. It's easy to write, easy to read. It takes zero effort to parse. Serializing as "python file" might be a bit awkward.