• Avicenna@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    alternative scenerio:

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

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

  • Zacryon@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    I have worked with JSON very often and do not know, what ‘Stringify’ is. Reading it for the first time. Does it… convert anything to strings?

    Looked it up:

    The JSON.stringify() Method

    The JSON.stringify() method converts a JavaScript value into JSON text.

    https://www.w3schools.com/js/js_json_stringify.asp

    Okay JavaScript. Never worked with JS before.

    Also, didn’t knew web devs are considered ‘software engineers’ now. /j

  • lime!@feddit.nu
    link
    fedilink
    arrow-up
    0
    ·
    3 months 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
      1
      ·
      3 months 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.

    • lobut@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      I refuse to believe you couldn’t infer what this is, you’re way too smart and you could definitely just guess.

      • lime!@feddit.nu
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        3 months ago

        turning a data structure into a string is usually called like “marshal” or “render” or “dump” or something, “stringify” doesn’t really imply anything except something about the json being turned into a string. for all i know it could be replacing all the values with toString’ed versions.

  • Flagstaff@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Huh, this made me realize all these years that I’ve been pronouncing it as “jay-sawn.” Is it really pronounced like “Jason?”

  • whereitsat@lemmy.zip
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    3 months ago

    imagine doing web development for a living and calling yourself a ‘coder.’

    you’re writing instructions for a web browser, not a computer, pal. you fear the computer and it’s language the same way you fear a black man from the islands when you venture through a bad neighborhood.

    there isn’t even a proper analogy for vibe coding because it’s so lame. imagine showing up to a jazz club and wanting to sit with a band but all you brought was your laptop with suno but everyone else is playing a real instrument.

    are you a musician?

    • dwemthy@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      What is web development if not coding? You write specially formatted text in a file with a particular extension and another program that knows how to read it makes the computer do things.