this post was submitted on 24 Feb 2026
102 points (95.5% liked)

Programmer Humor

41127 readers
141 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
[โ€“] Ephera@lemmy.ml 2 points 14 hours ago* (last edited 14 hours ago) (1 children)

We just document that this is how you write the config file:

[network]
bind.host = "127.0.0.1"
bind.port = 1234

# etc.

And that seems straightforward enough. Yeah, technically users can opt to use inline tables or raw strings or whatever, but they don't have to.

[โ€“] ell1e@leminal.space 1 points 3 hours ago

Configs are often shared, just to explain my reservations with TOML. For my project, I used INI instead.