Comment

Comment by tzhenghao

Yup. I've personally used both YAML and TOML for configurations, much more the latter recently and can see pros and cons for both.

> How well suited are their syntactic choices to the community they're targeting?

Also, "best" practices. One could reduce the pain of the other, but by no means is the right solution to a deeper problem at hand. For example, if one has very deep and complex nesting for configs, TOML "may be a lot nicer" compared to YAML, but that doesn't mean using TOML will make all the config parsing problems go away. It just mask away code smell. Maybe time to check if they're overcomplicating configurations in general.

parent tzhenghao 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton