okr765
  • 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
  • cross-posted to:
  • programmerhumor@lemmy.ml
260

TOML

lemmy.world

skepller@lemmy.world to Programmer Humor@programming.devEnglish · 6 hours ago
message-square
54
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • panda_abyss@lemmy.ca
    link
    fedilink
    arrow-up
    52
    ·
    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.

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

          Should have added if it cares about tabs vs spaces.

    • 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
        ·
        55 minutes ago

        As someone who runs Home Assistant:
        Fuck YAML.

    • suicidaleggroll@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      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
      30
      arrow-down
      1
      ·
      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: !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
Visibility: Public
globe

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

  • 896 users / day
  • 2.6K users / week
  • 7.76K users / month
  • 17.4K users / 6 months
  • 1 local subscriber
  • 30K subscribers
  • 1.91K Posts
  • 64.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org