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

TOML

lemmy.world

message-square
149
fedilink
623

TOML

lemmy.world

skepller@lemmy.world to Programmer Humor@programming.devEnglish · 2 days ago
message-square
149
fedilink
  • Senal@programming.dev
    link
    fedilink
    English
    arrow-up
    60
    ·
    2 days ago

    Significant white-space is bullshit and i will die on this hill.

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

      You are not alone, my friend

    • softwarist@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      You’re going to indent your code anyway, so why not let the indentation carry meaning?

      • Shanmugha@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        12 hours ago

        Because I am not counting white space when I read. Or should we just write machine code/assembler/pick something straight away?

      • 3abas@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        24 hours ago

        Because yaml is not a programming language, and debugging why your whatever you’re configuring isn’t working correctly can be a nightmare. It doesn’t tell you you missed an indent on a block, it just assumes it should be there and changes the meaning.

        Braces are visually clear.

    • BlueKey@fedia.io
      link
      fedilink
      arrow-up
      19
      ·
      2 days ago

      Is there space left on the hill? I want to join you.

      • Michal@programming.dev
        link
        fedilink
        arrow-up
        24
        ·
        2 days ago

        I hear there’s significant space left

        • squaresinger@lemmy.world
          link
          fedilink
          arrow-up
          10
          ·
          2 days ago

          But it’s only white space. That’s kinda racist.

          • Senal@programming.dev
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 day ago

            significant white space to it’s classist and racist

        • _stranger_@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 day ago

          Their whole thing is that they don’t want to care about it, so if you get to the hill and there’s no space, you’re SOL.

    • rothaine@lemmy.zip
      link
      fedilink
      arrow-up
      12
      ·
      2 days ago

      Yeah I just want JSON with optionally quoted keys, and comments.

      • bobo@lemmy.ml
        link
        fedilink
        arrow-up
        7
        ·
        2 days ago

        Commas (at least the trailing ones), comments, and nothing else. JSON with type inference seems like an incredibly bad idea…

      • BlueKey@fedia.io
        link
        fedilink
        arrow-up
        5
        ·
        2 days ago

        JSON5 my beloved

    • laranis@lemmy.zip
      link
      fedilink
      arrow-up
      4
      ·
      2 days ago

      Preach!

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.

  • 1.16K users / day
  • 3.94K users / week
  • 7.9K users / month
  • 17.3K users / 6 months
  • 198 local subscribers
  • 30K subscribers
  • 2.15K Posts
  • 83.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org