this post was submitted on 24 Feb 2026
93 points (95.1% liked)

Programmer Humor

41127 readers
215 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] dessalines@lemmy.ml 6 points 21 hours ago* (last edited 21 hours ago) (1 children)

I love hjson / json5 for config files: https://hjson.github.io/

Never understood the toml philosophy of trying to flatten every object field.

[โ€“] Ephera@lemmy.ml 2 points 20 hours ago

Well, TOML is essentially just an extension of the INI format (which helped its adoption quite a bit, since you could just fork INI parsers for all kinds of programming languages).

And then, yeah, flattening everything is kind of baked into INI, where it arguably made more sense.
Although, I do also feel like non-techies fare better with flat files, since they don't have to understand where into the structure they have to insert the value. They just need find the right "heading" to put the line under, which is something they're familiar with.