TOML [Tom's Obvious Minimal Language]
1–10 of 13 posts
Re: TOML [Tom's Obvious Minimal Language]
#22023 (165 points, 221 comments) https://news.ycombinator.com/item?id=36018817
2020 (146 points, 160 comments) https://news.ycombinator.com/item?id=24436550
2018 (358 points, 195 comments) https://news.ycombinator.com/item?id=17513770
Re: TOML [Tom's Obvious Minimal Language]
#3Re: TOML [Tom's Obvious Minimal Language]
#4Required reading for anybody considering using TOML for something: https://github.com/madmurphy/libconfini/wiki/An-INI-critique...
I am not sure it isn’t a well-written parody of a rant.
Re: TOML [Tom's Obvious Minimal Language]
#5Re: TOML [Tom's Obvious Minimal Language]
#6Re: TOML [Tom's Obvious Minimal Language]
#7Required reading for anybody considering using TOML for something: https://github.com/madmurphy/libconfini/wiki/An-INI-critique...
Re: TOML [Tom's Obvious Minimal Language]
#8Required reading for anybody considering using TOML for something: https://github.com/madmurphy/libconfini/wiki/An-INI-critique...
> Although it claims to be a human-friendly language, TOML constitutes a step back into something more robotic and primitive when compared to INI files and libconfini's approach.
INI files are a complete, utter mess to the point it's even hard to argue they exist as a specified format. TOML's value proposition is specifying a INI-like language.
The critique is an exercise in myopic nitpicking, and confuses specification with implementation. The doc even whines because strings and numbers are different types. Go figure. The whole document is a textbook example of "not even wrong'. A waste if time.
By the way, TOML is supported as the config language of tools such as Rust's Cargo and Cloudflare's Wrangler. It's funny how things actually work in the real world in spite of these documents.
Re: TOML [Tom's Obvious Minimal Language]
#9Required reading for anybody considering using TOML for something: https://github.com/madmurphy/libconfini/wiki/An-INI-critique...
I agree with his premise that TOML is not user friendly, but INI is not useful enough. CONL attempts to land in the gap
Re: TOML [Tom's Obvious Minimal Language]
#10I tried to use toml in as config format for the app I am building at my day job. I ditched it for json because it's representation is not unambiguous, meaning the same object tree has many many different valid representations in toml. This makes it really hard to implement roundtripping of the config string to object tree and then back to config string without losing the specific toml representation chosen by the con…