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
  • artifex@piefed.social
    link
    fedilink
    English
    arrow-up
    119
    ·
    6 hours ago

    JSON is like the carcinization of programming

    • pet the cat, walk the dog@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      3 hours ago

      What’s it called when people try to reinvent Lisp for the hundredth time?

      • owsei@programming.dev
        link
        fedilink
        arrow-up
        18
        ·
        3 hours ago

        carthinazation

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      4 hours ago

      Well…

      It’s name-value pairs, with groups denoted by balanced brackets. It’s close to as good as you can get for one kind of data serialization.

      What is impressive is how many problems people manage to fit in something so small.

    • Valmond@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      32
      arrow-down
      1
      ·
      6 hours ago

      Chuck in comments and I’m on board.

      • panda_abyss@lemmy.ca
        link
        fedilink
        arrow-up
        50
        ·
        6 hours ago

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

        • Valmond@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          13
          ·
          5 hours ago

          Found the python guy!

          • panda_abyss@lemmy.ca
            link
            fedilink
            arrow-up
            18
            ·
            5 hours ago

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

            • Valmond@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              6
              ·
              5 hours 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
                2
                ·
                5 hours 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
        4
        ·
        3 hours ago

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

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      4
      ·
      5 hours ago

      That’s not JSON. Note the use of equal signs for the property names. That’s something else.

      • unmagical@lemmy.ml
        link
        fedilink
        arrow-up
        13
        ·
        4 hours ago

        Carcinisation is the phenomenon of non crabs to evolve crab like characteristics. It is not the process of non crabs becoming true crabs.

        In this case the language is trending toward JSON syntax, but it doesn’t have to actually be JSON for carcinisation to be an applicable analogy.

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        13
        ·
        edit-2
        5 hours ago

        Equals schmequals.
        It could be a ⇨ and it would be the same as JSON because it is still a single symbol used as a separator.

        a distinction without a difference

        Now, if it took multiple separators, each giving some specific different meaning, then it would be a something else.

        • jcorvera@quokk.au
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 hours ago

          It could be a ⇨ and it would be the same as JSON because it is still a single symbol used as a separator.

          Nah, that’s a Ruby Hash…

          • PumaStoleMyBluff@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 hours ago

            Excuse me, it’s a Ruby Hash Rocket.

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 hours ago

            schmooby schmash

            • 0ops@piefed.zip
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 hours ago

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