3 ms·
Yes it is. Especially after you tried configuring an application which has pages-long comments with commented out examples that are misaligned to indentation,
by Xelbair 6y ago
Yes it is.
Especially after you tried configuring an application which has pages-long comments with commented out examples that are misaligned to indentation, and an app takes few minutes to show you an config error.
It is completely impractical - it looks nice - but we aren't writing for YAML for non-technical users, we are writing it for machines and other technical users.
I seriously wonder why TOML isn't popular.
- IshKebab 6y agoI think YAML is popular because it has a non-noisy way of including multi-line strings, which are very common in CI /DevOps type things (where YAML is most popular). All of the other features and insanities of YAML don't really matter compared to that. TOML is good, but it quickly gets confusing when you have object hierarchies / nested tables. I feel like json5 is probably the best option at this point.