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

TOML

lemmy.world

message-square
150
fedilink
581

TOML

lemmy.world

skepller@lemmy.world to Programmer Humor@programming.devEnglish · 10 days ago
message-square
150
fedilink
  • Valmond@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    77
    arrow-down
    1
    ·
    10 days ago

    Chuck in comments and I’m on board.

    • panda_abyss@lemmy.ca
      link
      fedilink
      arrow-up
      90
      ·
      10 days ago

      If we’re adding comments to json, can we add canonical support for trailing commas?

      • Valmond@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        27
        ·
        10 days ago

        Found the python guy!

        • panda_abyss@lemmy.ca
          link
          fedilink
          arrow-up
          40
          ·
          10 days ago

          Oh, a trailing comma? That’s a tuple.

          • Valmond@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            10
            ·
            10 days ago

            Yeah when the call_func((a,)) is the way to go it is a newbie pain for sure. Remember banging my head on that one.

            • panda_abyss@lemmy.ca
              link
              fedilink
              arrow-up
              7
              ·
              10 days ago

              I’ve spent hours on that, and debugging missing commas between string literals. Even on separate lines you’re not safe from implicit concatenation.

    • Anafabula@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      26
      ·
      10 days ago

      Just make JSON5 the new official version and I would be ok

      • Valmond@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        9
        ·
        9 days ago

        That seems quite good, not overdoing it too.

    • socsa@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 days ago

      _comment: “this is a comment”

      • Valmond@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        8 days ago

        Nah that sucks in so many ways thank you 😊

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.14K users / day
  • 3.8K users / week
  • 7.07K users / month
  • 18.5K users / 6 months
  • 1 local subscriber
  • 30.2K subscribers
  • 2.1K Posts
  • 77.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