Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
koes3303yThe mere fact that you can have comments in YAML makes it a thousand times better for configuration than JSON.
-
nebula18133yi always disliked yaml.
then i built a kubernetes cluster for which i had to write a lot of yaml stuff. now i like it. -
I hate yanl when editing a file in terminal indentation is annoying but in an editor like vs code it's fine.
-
I'll take ini, toml, json or yaml any time over fucking xml configs.
Fuck xml and those coworkers who decided to use it in 2021.
N.B.: to me json and yaml are pretty much the same. The indentation is not a problem. -
@PepeTheFrog xml for the sake of "hey we used xml, its standardized and it's cool..." Like the androidmanifest and other configs...another xml bloat are the api responses.
-
korrat6063y@vintprox Please elaborate? To quote from the YAML spec: "every JSON file is also a valid YAML file".
-
This website is a helpful cheatsheet for YAML multiline strings: https://yaml-multiline.info
YAML configuration is more difficult to do than the actual programming itself.
JSON and ini files are way better.
rant