Replies: 2 comments 3 replies
-
If you want to make it big, you gotta start small. TOML was conceived as a configuration format. I'd be happy with just that. I'd be thrilled if more projects used it for their own purposes, and designed their schemas for it. In fact, I've seen TOML in use as a data exchange format. But it can't contain arbitrary data types. Everything's in one table. Values cannot exist without identifying keys. No explicit nulls are permitted. I wouldn't want to market it as something that it isn't quite yet. Quite yet. It'll be a config format, first and foremost, no matter how it evolves. |
Beta Was this translation helpful? Give feedback.
-
TOML’s main goal is to be a good configuration language. The fact that it’s a good choice for certain styles of data serialisation is an expected coincidence. (those follow the same structure/approach as what TOML’s design incentivises). Not advocating for that use case is intentional on my end (I’ve thought about this a while back) — trying to cover too many “needs”/use cases results in complexity that I don’t really think we should have in TOML. And, arguably, TOML’s already pretty high on the complexity front for something that uses obvious to describe itself. There’s no one saying TOML can’t be used for data exchange or whatever. OTOH, if someone comes around asking for accommodations/changes that better fit such use cases, it’s way easier to say “no” when the language isn’t marketed to solve those use cases. And, that’s making my life that tad bit easier. :) |
Beta Was this translation helpful? Give feedback.
-
I find the TOML format better than both YAML and JSON. Should it really be marketed specifically as a minimal configuration file format? I'm thinking it's superior even as a general data serialisation/exchange format.
Beta Was this translation helpful? Give feedback.
All reactions