riccardo
link
fedilink
42Y

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

Ephera
link
fedilink
22Y

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.

Ephera
link
fedilink
22Y

Here’s the spec, which I think, can be skimmed reasonably quickly: https://toml.io/en/latest

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
12Y

I’m very happy with EDN myself.

After the parentheses revolution we’ll use S-exps all the way down! :D

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
22Y

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.

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
32Y

Yeah, I’m equal parts amused and depressed that CL and Scheme are much better languages that most of what’s come out since.

@BlackCentipede
link
fedilink
3
edit-2
1Y

deleted by creator

Dessalines
admin
link
fedilink
4
edit-2
2Y

Yeaahh. I love json as a data format, and hjsons for configs.

Ephera
link
fedilink
32Y
  # 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.

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
  • 1 user / day
  • 2 users / week
  • 19 users / month
  • 96 users / 6 months
  • 1.99K subscribers
  • 352 Posts
  • 767 Comments
  • Modlog