Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
skepller@lemmy.world to Programmer Humor@programming.devEnglish · 16 hours ago

TOML

lemmy.world

message-square
82
link
fedilink
421

TOML

lemmy.world

skepller@lemmy.world to Programmer Humor@programming.devEnglish · 16 hours ago
message-square
82
link
fedilink
  • qevlarr@lemmy.world
    link
    fedilink
    arrow-up
    60
    arrow-down
    2
    ·
    14 hours ago

    Time to read this if you haven’t already

    https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell

    • LiveLM@lemmy.zip
      link
      fedilink
      English
      arrow-up
      22
      ·
      10 hours ago

      The json spec is not versioned. There were two changes to it in 2005 (the removal of comments

      See, this is why we can’t have nice things.

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        9
        ·
        6 hours ago

        I can kind of understand it after having to work with an XML file where users encoded data into comments for no good reason. But yeah, it does make JSON awkward for lots of potential use-cases.

        • FooBarrington@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          47 minutes ago

          This would undoubtedly, unquestionably happen, and it would break JSON. The only reason it works so well is because comments aren’t allowed.

    • tfw_no_toiletpaper@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      12 hours ago

      As if I didn’t hate the format enough before

    • onlyhalfminotaur@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      9 hours ago

      Almost all of those issues are solved by explicitly quoting your strings, the author even acknowledges that. Yeah it’s annoying that yaml lets you do otherwise, but the title is a bit dramatic.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.64K users / day
  • 2.27K users / week
  • 7.52K users / month
  • 11.2K users / 6 months
  • 1 local subscriber
  • 30K subscribers
  • 543 Posts
  • 7.46K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.14
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org