this post was submitted on 08 Sep 2024
1230 points (98.3% liked)
Programmer Humor
32386 readers
742 users here now
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.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It is very cool, specifically as a human readable mark down / data format.
The fact that you can make anything a tag and it's going to be valid and you can nest stuff, is amazing.
But with a niche use case.
Clearly the tags waste space if you're actually saving them all the time.
Good format to compress though...
YAML for human-written files, JSON for back-to-front and protobuf for back-to-back. XML is an abomination.
YAML is good for files that have a very flexible structure or need to define a series of steps. Like github workflows or docker-compose files. For traditional config files with a more or less fixed structure, TOML is better I think