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

TOML

lemmy.world

message-square
72
fedilink
374

TOML

lemmy.world

@skepller@lemmy.world to Programmer Humor@programming.devEnglish • 13 hours ago
message-square
72
fedilink
  • @panda_abyss@lemmy.ca
    link
    fedilink
    67•12 hours ago

    If yaml didn’t have anchors and 8 different white space formats, it’d be a great replacement for this kind of thing.

    But yaml is a mess, and you’d think you could parse it easily, but you can’t.

    • Flamekebab
      link
      fedilink
      English
      19•8 hours ago

      As someone who works with YAML regularly:

      Fuck YAML.

      • @Damage@feddit.it
        link
        fedilink
        10•7 hours ago

        As someone who runs Home Assistant:
        Fuck YAML.

    • @ramble81@lemmy.zip
      link
      fedilink
      11•8 hours ago

      I have a fundamental disdain for formats with restrictive white space definitions (I’m looking too at you Python)

      • @panda_abyss@lemmy.ca
        link
        fedilink
        11•8 hours ago

        I’ve never had this issue with Python, but makefile has given me plenty of whitespace issues.

        • @ramble81@lemmy.zip
          link
          fedilink
          3•8 hours ago

          Should have added if it cares about tabs vs spaces.

          • @thesmokingman@programming.dev
            link
            fedilink
            3•4 hours ago

            The author knew it was a bad idea

    • floquant
      link
      fedilink
      42•11 hours ago

      YAML is redeemed by one thing only:

      All JSON is valid YAML.

    • @suicidaleggroll@lemmy.world
      link
      fedilink
      17•10 hours ago

      I want to like yaml, I really do, but why are there so many different ways of specifying the same thing?

    • FishFace
      link
      fedilink
      English
      8•11 hours ago

      import yaml :)

    • @derek@infosec.pub
      link
      fedilink
      3•10 hours ago

      I’m a fan of NestedText. It’s no panacea but I’d argue it’s the most well-considered and useful file format for structured data in plain text.

      • @kibiz0r@midwest.social
        link
        fedilink
        English
        3•10 hours ago

        There just needs to be one universal standard that handles everyone’s use cases

        • @thesmokingman@programming.dev
          link
          fedilink
          3•4 hours ago

          https://xkcd.com/927/

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: !programmer_humor@programming.dev

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
  • 1.37K users / day
  • 2.69K users / week
  • 2.81K users / month
  • 2.84K users / 6 months
  • 30K subscribers
  • 126 Posts
  • 776 Comments
  • Modlog
  • mods:
  • adr1an
  • Feyter
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org