• Avicenna@programming.dev
    link
    fedilink
    arrow-up
    14
    ·
    1 hour ago

    alternative scenerio:

    Guy: “it turns javascript objects into texts in json format”

    Soldier: “He uses javascript, shoot the poor bastard”

    • Blue Label@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      19 minutes ago

      Alternative scenario:

      Soldier B: Soldier A asked a JavaScript question instead of a software engineering question. He’s not a real soldier, shoot him

  • porous_grey_matter@lemmy.ml
    link
    fedilink
    arrow-up
    23
    ·
    2 hours ago

    Not sure every software engineer needs to know this. If they’d said web developer I suppose this would really be expected knowledge, but then you’d probably want to shoot them anyway.

    • Waterpumpee@lemmus.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      17 minutes ago

      honestly, this is used for debugging. Why not just pass the object as value to the console.log()

  • lime!@feddit.nu
    link
    fedilink
    arrow-up
    26
    ·
    3 hours ago

    i’ve designed my own communication protocols that run directly on udp. i couldn’t tell you either.

    • MalReynolds@slrpnk.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 hour ago

      Ima guess it’s javascript-ese to turn a json object into a string, perhaps for serialization. But no clue, coding for decades but always hated js, I guess my way through with a linter and IDE when I absolutely, positively, cannot find an alternative, which seldom happens.