• Timberfang@pawb.social
    link
    fedilink
    English
    arrow-up
    10
    ·
    14 hours ago

    We need a mobile app? Believe it or not, JavaScript, right away. We have the best/worst software in the world because of Javascript.

  • palordrolap@fedia.io
    link
    fedilink
    arrow-up
    47
    ·
    18 hours ago

    I am old. I am still not over JavaScript existing outside of a browser. I’m not sure I ever will be. And that’s from someone who uses a Linux DE that uses JavaScript and XML as part of its GUI.

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      17 hours ago

      If you have an evening (or all weekend), and really want to blow your mind, look up Low Byte Productions on YouTube and look up their JavaScript videos.

    • TheRedSpade@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      18 hours ago

      I am old. I am still not over JavaScript existing outside of a browser.

      I’m in my mid thirties and didn’t know this was a thing until now.

      • vithigar@lemmy.ca
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        16 hours ago

        Even if you don’t count desktop applications like VSCode or Discord or whatever that are written in primarily JavaScript due to those arguably just being packed inside their own little browser engine that they ship with, still yes.

        Node.js is an extremely widely used JavaScript runtime environment that people are using to write server back ends and command line utilities and god knows what else in JavaScript.

  • melfie@lemy.lol
    link
    fedilink
    arrow-up
    4
    ·
    14 hours ago

    I had to deal with large JavaScript codebases targeting IE8 back in the day and probably would’ve slapped anyone back then who suggested using JavaScript for everything. I have to say, though, that faster runtimes like v8 and TypeScript have done wonders, and TypeScript nowadays is actually one of my favorite languages.

  • Iced Raktajino@startrek.website
    link
    fedilink
    arrow-up
    18
    arrow-down
    2
    ·
    19 hours ago

    For the longest time (relatively speaking), I would do full stack Javascript (like the meme). But I have to frequently tie into AD/LDAP and the only decent NodeJS library for LDAP is no longer maintained because the community was shitty to the dev. Now I’ve had to venture out into Go (I can’t stand working in Python).

    Let this be a reminder to be nice to the developers who are giving you their hard work for free.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      edit-2
      18 hours ago

      whoa, that email is wild, wtf

      it’s not even just a shitpost troll you can shrug off, what’s wrong with that person

      • ripcord@lemmy.world
        link
        fedilink
        arrow-up
        12
        ·
        17 hours ago

        Depending on your use case, it can be fantastic.

        There’s good reasons why it is the world’s most popular programming language (by a wide margin).

        You are not, generally, going to be using it to write kernels or device drivers, though.

      • Iced Raktajino@startrek.website
        link
        fedilink
        arrow-up
        5
        ·
        16 hours ago

        For me, it’s the rigid and wonky virtual environments. I get why they’re useful and necessary, but they’re awkward to use. Like, Node just works from the working directory with no fuss and python has to be all source {venv}/bin/activate and lord help you if you need to move it.

        Plus, I have never liked that the spacing is load-bearing.

        • Eager Eagle@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          15 hours ago

          uv mostly gets rid of the “venv activation” thing (mostly bc you can still use it if you really want, but you don’t need to), you can do uv run main.py and it’ll just work, no need to even install packages explicitly, it’ll also do that for you and make sure your uv.lock is in sync with your environment.

          it’s the most hassle-free experience I’ve had with python, by a long shot.

          • Iced Raktajino@startrek.website
            link
            fedilink
            arrow-up
            3
            ·
            14 hours ago

            Sounds like at least a minor improvement. Can those me moved and still work? Like, if I move the project folder, do I have to reinitialize it and download all the packages again?

            • Eager Eagle@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              14 hours ago

              ah, it’s a massive improvement. Everything is in your project dir, so you can move it around. But uv is the fastest package manager, so reinstalling most things doesn’t take time; with the exception of dependencies that need to compile code in different langs.

      • Contramuffin@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        17 hours ago

        Python is extremely high level and slow. Great for scripting and prototyping but you really shouldn’t build any infrastructure off of it.

        It also has dynamic variable typing, which depending on your use case (see above), can either be nice or a headache

    • Jayjader@jlai.lu
      link
      fedilink
      arrow-up
      4
      arrow-down
      10
      ·
      19 hours ago

      Wow, it’s rare that I encounter a tech spat where I can so thoroughly empathize with both parties simultaneously. Thank you for sharing that link, I’d never heard of node-ldap nor it’s history.

      • Iced Raktajino@startrek.website
        link
        fedilink
        arrow-up
        15
        arrow-down
        1
        ·
        19 hours ago

        You’re empathizing with the troll, too? 👀

        FYI: What the troll is describing is not required all. I don’t know what they’re on about, but I’ve used ldap-js in many projects without having to do any of that.