Re:Configs suck? Try a real programming language
by dhagz on Monday April 06, 2020 @08:20AM
(#22793046)
I really don't like JSON for configuration. I prefer TOML or YAML for config file definition. But I would also make sure my config item names are descriptive enough to where I know units from the name, e.g. maxAttachmentSizeBytes. Any other comments I usually prefer to put in my code that loads the config files into my program.
[ Parent
| on HN ]
Re:Configs suck? Try a real programming language
by dkersten on Tuesday April 07, 2020 @09:21AM
(#22802938)
I’m a big fan of TOML. It’s not perfect, but as a configuration format, it does the job much better (imho) than the alternatives.