I use toml as much as I can for configs. It looks really readable to me, but I can understand how some people find it not really immediate, especially when reading arrays of tables
Yeah, I feel like it’s not perfect, but I haven’t yet figured out, how I would do it better.
And I definitely feel like it’s more adequate than INI, XML, JSON and YAML.
Here’s the spec, which I think, can be skimmed reasonably quickly: https://toml.io/en/latest
I’m very happy with EDN myself.
deleted by creator
Yeaahh. I love json as a data format, and hjsons for configs.
# hash style comments # (because it's just one character)
I always found that argumentation silly, because personally I find the “#” so visually cluttering that I want a space after it, which I don’t care to have with “//”-comments.
The Python styleguide even recommends putting two spaces ahead of the “#” as well, which makes it four characters to start a comment.
After the parentheses revolution we’ll use S-exps all the way down! :D
Been working with Clojure for the past decade, and I would loathe to use any language without s-exps at this point. :)
+1, for me it was Guile Scheme. I think that S-exp are actually unbeatable for their combo of simplicity, expressive power and strong specification (and they are like ~60 years old). No one of the above mentioned formats has all of these features.
Yeah, I’m equal parts amused and depressed that CL and Scheme are much better languages that most of what’s come out since.