literature.cafe
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ruffsl@programming.dev to Programming@programming.devEnglish · 1 year ago

Everything about TOML format - Orchard Dweller

www.youtube.com

external-link
message-square
46
link
fedilink
  • cross-posted to:
  • python@programming.dev
  • rust@programming.dev
41
external-link

Everything about TOML format - Orchard Dweller

www.youtube.com

ruffsl@programming.dev to Programming@programming.devEnglish · 1 year ago
message-square
46
link
fedilink
  • cross-posted to:
  • python@programming.dev
  • rust@programming.dev
Everything about TOML format
www.youtube.com
external-link
What is this TOML?Visualizer:https://toml-to-json.orchard.blog/Code:https://github.com/orcharddweller/toml-to-jsonTOML spec:https://toml.io/en/v1.0.0#TOML #t...
  • Visualizer:
    • https://toml-to-json.orchard.blog/
  • Code:
    • https://github.com/orcharddweller/tom…
  • TOML spec:
    • https://toml.io/en/v1.0.0
  • matcha_addict@lemy.lol
    link
    fedilink
    arrow-up
    4
    arrow-down
    4
    ·
    1 year ago

    Why would one pick toml over yaml?

    • corsicanguppy@lemmy.ca
      link
      fedilink
      arrow-up
      11
      arrow-down
      2
      ·
      edit-2
      1 year ago

      Xkcd 927?

      Also yaml is ugly as hell and I’m okay avoiding it.

      • gornius@lemmy.world
        link
        fedilink
        arrow-up
        11
        arrow-down
        5
        ·
        edit-2
        1 year ago

        What?

        It’s simple and readable. You literally put somebody that has never coded in their life, show them the YAML file and they will probably get it. Worked both with my boss and my girlfriend.

        In Toml there are too many ways to do the same thing, which I don’t like. Also unless you know it deeply, you have no idea how the underlying data structure is going to look.

        • Eager Eagle@lemmy.world
          link
          fedilink
          English
          arrow-up
          17
          ·
          1 year ago

          In Toml there are too many ways to do the same thing, which I don’t like

          ha

          63 different ways to write multi-line strings in YAML

      • matcha_addict@lemy.lol
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        Yaml is already pretty popular, so I don’t think 927 applies here. It’s actually more common in newer projects than toml.

        Which begs the question, should I go with the flow or is there good reason to go with toml?

    • jkrtn@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      Perhaps they’re Norwegian.

    • Lmaydev@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Significant whitespace is the devil’s play thing.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      3
      ·
      edit-2
      1 year ago

      XML < YAML < TOML < possibly others

      noyaml.com

Programming@programming.dev

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

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

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

  • 261 users / day
  • 843 users / week
  • 2.54K users / month
  • 7.38K users / 6 months
  • 15 local subscribers
  • 21.4K subscribers
  • 2.15K Posts
  • 30K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • UlrikHD@programming.dev
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org