I dunno why, but I have a thing against TOML. I could be reading a blog post and marvelling at the intellect of the author, but if it cuts to a code snippet of TOML I smack my teeth and question how I ended up on such an amateur site.

My opinion is not rational neither is it grounded in any technical reasoning or logic. I’d even consider myself syntactically promiscuous when it comes to pretty much any other markup language. For some reason YAML and TOML make me feel like I need to pick sides and I’m definitely a YAMLite.

I’m curious to know whether anyone else is this abnormally partisan towards YAML and TOML?

    • till@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I know it’s kinda cheap, but for me nothing is the answer (that includes hcl). I’ll use what I find, but I can’t say that I love anything.

      If something uses toml, I will use toml. I’ve also used json-schema in the past.

      Depending on what I do I find yaml and kustomize okay, etc… Using something like client-go has its advantages as well.

      If I am building something from scratch then I would reach for a simple ini. I feel like everything else overcomplicates things and that’s usually a symptom for something else.

    • Vogete@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Json with comments is literally perfect. Formattable, machine parsable, minimisable, easy and fairly concise. Honestly I can’t think of anything better. (Comments in json are essential IMO, without it it’s actually not that great, and I’d go with yaml instead)