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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You're not alone.
In fact, someone made an entire website dedicated to disliking it: https://noyaml.com/ -
sariel85872yYou're not. Yaml is a great solution for configurations that are maintained by non-technical users.
But it will always be parsed back into JSON or a named tuple. -
Yeah yaml sucks. If you need a user facing json type thing check out TOML. It's pretty good
-
@12bitfloat toml is my goto choice for config files.
They're like an ini file, but with proper arrays and a proper specification. -
I love YAML for configuration. But I would never use it for something like data exchange instead of json.
So, it depends :) -
Have any of you YAML-haters ever worked with XML? Or SOAP? No? I thought so... You all are a bunch of JSON spoiled wussies!
-
C0D4682462yYaml can suck me off before I'll enjoy it.
Why we can't use json, considering the useless shit is converted to it anyway most of the time is beyond me.
"But I want comments in my file"
Use a
"_comment": "this is a comment that doesn't get parsed"
node and be done with it. -
Me and 2 other coworkers once spent 2 hours trying to figure out why the build was suddenly failing, we checked everything we could think of, modified all the values. Everything, we went back and checked all the commits.
Come to find out someone had removed a newline but that doesn't show by default. It was at that day I began to hate whitespace dependent languages with the passion and fury of a thousand Sons, and swore I would get my revenge for their destruction of my Proepero time.
So screw YAML, screw people that choose to use YAML, screw everyone that promotes YAML. I hope they end up stuck debugging chaotic assembly code the rest of their lives. -
Diapolo10112yI hate YAML with passion. I'm so sick and tired how every single CI/CD pipeline uses it, offers no alternatives for configuration, and how every parser supports its own subset of the overly complex and long standard.
Meanwhile I love TOML, I'm fine with JSON (especially when the parser supports comments), and can tolerate XML. I can remember all of their specifications quite well, excluding maybe XML but in theory it's super simple.
If I ever design my own CI/CD system, it shall have no official YAML support, though I might make the configuration part extendable to support arbitrary formats. -
YAML is bloated as fuck - but it is still the best commonly known serialization format.
-
@prodigy214 @magicMirror haha yeah that website is weird.
That's an embedded version of vscode, or at least its text editor component.
no idea why you would do that, not my website
Related Rants
I fucking hate YAML. But I have the feeling I am the only one.
rant
yaml