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

TOML

lemmy.world

message-square
54
fedilink
254

TOML

lemmy.world

skepller@lemmy.world to Programmer Humor@programming.devEnglish · 6 hours ago
message-square
54
fedilink
  • panda_abyss@lemmy.ca
    link
    fedilink
    arrow-up
    51
    ·
    6 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@piefed.social
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 hours ago

      As someone who works with YAML regularly:

      Fuck YAML.

      • Damage@feddit.it
        link
        fedilink
        arrow-up
        2
        ·
        44 minutes ago

        As someone who runs Home Assistant:
        Fuck YAML.

    • ramble81@lemmy.zip
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 hour 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
        arrow-up
        5
        ·
        1 hour ago

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

        • ramble81@lemmy.zip
          link
          fedilink
          arrow-up
          2
          ·
          1 hour ago

          Should have added if it cares about tabs vs spaces.

    • suicidaleggroll@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      4 hours ago

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

    • floquant@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      29
      ·
      5 hours ago

      YAML is redeemed by one thing only:

      All JSON is valid YAML.

    • FishFace@piefed.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 hours ago

      import yaml :)

    • derek@infosec.pub
      link
      fedilink
      arrow-up
      2
      ·
      4 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
        arrow-up
        2
        ·
        4 hours ago

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

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.29K users / day
  • 2.97K users / week
  • 7.9K users / month
  • 17.4K users / 6 months
  • 1 local subscriber
  • 30K subscribers
  • 2.12K Posts
  • 82K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org