Brdsnest Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
genzboomer@lemmy.zip to Programmer Humor@programming.dev · 4 days ago

Got myself a new mug.

lemmy.zip

external-link
message-square
32
fedilink
97
external-link

Got myself a new mug.

lemmy.zip

genzboomer@lemmy.zip to Programmer Humor@programming.dev · 4 days ago
message-square
32
fedilink
  • one_old_coder@piefed.social
    link
    fedilink
    English
    arrow-up
    33
    ·
    4 days ago

    Array Damon? Vector Damon? I don’t get it.

    • sudoMakeUser@sh.itjust.works
      link
      fedilink
      arrow-up
      72
      ·
      4 days ago

      I would say JSON Bourne but every member within the curlys needs to be a key value pair, so this isn’t JSON.

      • genzboomer@lemmy.zipOP
        link
        fedilink
        arrow-up
        11
        ·
        4 days ago

        He was always very forgetful, Mr. Bourne… and well spotted! 😉

      • bamboo@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        9
        ·
        4 days ago

        Yeah, {} should be [] so it would look something like this:

        [""]

        • 9point6@lemmy.world
          link
          fedilink
          arrow-up
          18
          ·
          edit-2
          4 days ago

          Could double entendre it and do

          [["😃", 0],
           [0, "😃"]]
          

          For a JSON Bourne Identity

      • loweffortname@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        4 days ago

        Technically an empty array [] is valid JSON…so…

        Proof:

        • sudoMakeUser@sh.itjust.works
          link
          fedilink
          arrow-up
          10
          ·
          4 days ago

          [“🙂”] and [] and “🙂” are valid, but anything within {} needs to be a key value pair.

          • loweffortname@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            12
            ·
            4 days ago

            I genuinely saw [] and not {}…

            Maybe I do need to schedule that eye exam.

        • Kairos@lemmy.today
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          4 days ago

          Termux

      • NigelFrobisher@aussie.zone
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        Jake Weary was better

    • python@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      4 days ago

      Me neither, but I bet it’s still valid JS syntax

      • dohpaz42@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        4 days ago

        Yes. In JavaScript, Objects without explicit keys will use the value as the key. At least that’s how it works in Chrome devtools output. 🤷‍♂️

        • ZoteTheMighty@lemmy.zip
          link
          fedilink
          arrow-up
          8
          ·
          3 days ago

          This is insane, but ultimately, FAR from the most insane thing JavaScript has done to me this week, so I’ll let it slide.

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.19K users / day
  • 3.14K users / week
  • 6.88K users / month
  • 18K users / 6 months
  • 1 local subscriber
  • 32K subscribers
  • 2.1K Posts
  • 67K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org