16
horus
142d

I fucking hate YAML. But I have the feeling I am the only one.

Comments
  • 13
    You're not alone.

    In fact, someone made an entire website dedicated to disliking it: https://noyaml.com/
  • 2
    You'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.
  • 8
    Yeah yaml sucks. If you need a user facing json type thing check out TOML. It's pretty good
  • 6
    @12bitfloat toml is my goto choice for config files.

    They're like an ini file, but with proper arrays and a proper specification.
  • 5
    Thank you guys, I feel better now. Now I can look my collegues in the eyes again.
  • 0
    I love YAML for configuration. But I would never use it for something like data exchange instead of json.
    So, it depends :)
  • 3
    @LotsOfCaffeine I gave up.
    Reading that site on mobile is.... FUBAR.
  • 1
    absolutely fucking despise YAML
  • 0
    TOML for the win
  • 2
    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!
  • 3
    @SuspiciousBug Yes and Yes, and most of us will still hate YAML
  • 2
    Yaml 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.
  • 1
    @SuspiciousBug every day of the week. Yaml can still suck my dick!
  • 7
    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.
  • 4
    I 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.
  • 1
    YAML is bloated as fuck - but it is still the best commonly known serialization format.
  • 2
    @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
  • 0
    same here!
  • 0
  • 0
    damn Yaml
  • 0
    @C0D4 Yeah but JSON sucks ass too
  • 1
    @trinay did you just join to hate YML? This a call passion!
  • 1
    I love yaml. Especially with yamllint. Never had an issue ever.
Add Comment