riccardo
link
41Y

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
21Y

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
21Y

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

ㄚㄖᎶㄒ卄ㄖ丂
creator
link
11Y

I’m very happy with EDN myself.

@fishinthecalculator
link
21Y

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

ㄚㄖᎶㄒ卄ㄖ丂
creator
link
21Y

Been working with Clojure for the past decade, and I would loathe to use any language without s-exps at this point. :)

@fishinthecalculator
link
21Y

+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.

ㄚㄖᎶㄒ卄ㄖ丂
creator
link
31Y

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
3
edit-2
9M

deleted by creator

Dessalines
admin
link
4
edit-2
1Y

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

Ephera
link
31Y
  # 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
  • 3 users / day
  • 18 users / week
  • 37 users / month
  • 115 users / 6 months
  • 1.87K subscribers
  • 293 Posts
  • 667 Comments
  • Modlog