Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
- 0 users online
- 2 users / day
- 7 users / week
- 23 users / month
- 81 users / 6 months
- 2.04K subscribers
- 367 Posts
- 758 Comments
- Modlog
What about TOML?
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.
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.
deleted by creator
Yeaahh. I love json as a data format, and hjsons for configs.
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.