Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you don't care about the format, why would you be using TOML in the first place? Just use JSON.


Who said I don't care about the format in general?

I don't care about specific stylistic options in serializing to the format that are all parsed the same way anyway.


That was how I interpreted this (but I didn’t say “in general”):

If N versions of the format express the same data (deserialize into the same structure) then it doesn't really matter from a functional way which they pick.

To clarify my point, if you’re using TOML, presumably you want to be able to format things nicely by hand because that’s the whole point of TOML. If you don’t need to do that, just use JSON. So I don’t see a whole lot of value in a tool for serialising data into boilerplate TOML (or YAML, etc).


>presumably you want to be able to format things nicely by hand because that’s the whole point of TOML.

For me the whole point of TOML is as a stricter, saner, YAML-type (human readable that is) config first, and a format used in several places, including upcoming Python standards, second.

Couldn't care less about formatting things nicely by hand.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: