• AnarchoSnowPlow@midwest.social
    link
    fedilink
    arrow-up
    105
    ·
    1 day ago

    Programming languages, much like the jackass in the middle, are tools. Different tools are for different things. The right tool for the job can make your day. The wrong tool can make you question your entire career.

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

        Embedded? Rust!

        Web Frontend? Rust!

        Web Backend? Rust!

        idk what orher kinds of programming exist…

        • Ephera@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          18 minutes ago

          That is, like, genuinely an advantage, though. At $ DAYJOB, we have a project that spans embedded, backend, web frontend and CLI, and for all of these, Rust is decent.

          Like, I can see why a frontend dev would want to use HTML+CSS+JS/TS (rather than HTML+CSS+Rust), mainly because the massive ecosystem of JS components makes you more productive.

          But you pretty much won’t ever develop a web frontend without an accompanying backend, and then being able to use the same language-expertise, libraries, utility functions and model types, that is also a big boost to productivity, especially if you won’t have a dedicated frontend dev anyways.

          Realizing that also made me understand why people subject themselves to NodeJS for their backend, which has the same advantage, just with the big ecosystem in the frontend and the small ecosystem in the backend.

    • Captain Aggravated@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      8
      ·
      19 hours ago

      I seem to remember hearing this story: Back in the 2000s, Google did all their back-end stuff in C++ to make sure it was performant, and when they acquired Youtube they found it was made in Python, slow to run, fast to develop.

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        16 hours ago

        Did they change it after the acquisition? Or is python why it’s still so freaking slow?

        • sping@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          25 minutes ago

          Things is you don’t crunch numbers in Python code, you do that in libraries called from Python.

          It’s a few statements of orchestration and any heavy lifting is encapsulated compiled code.

          You don’t do tight loops on Python, or if you do you’re using it wrong.

        • boonhet@sopuli.xyz
          link
          fedilink
          arrow-up
          8
          ·
          12 hours ago

          Lol @ YouTube being slow

          Look at the amount of data that goes through their servers every millisecond. It’s ridiculous. All things considered, YouTube is lightning fast.

          Maybe the UI isn’t as snappy as it could be, but the blame there lies solely on throwing more and more javascript at it to add “features” that end users don’t really want.

      • MotoAsh@piefed.social
        link
        fedilink
        English
        arrow-up
        12
        ·
        20 hours ago

        A tool of a person is a fool who is being used by someone else. They might not be useful to you, but to who ever makes the koolaid they’re drinking, they’re a very good tool.

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          9 hours ago

          I think that’s the basic idea, but in practice it’s used for people who are just generally dumb as well.

          • Omgpwnies@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            7 hours ago

            Well, when was the last time you looked at a hammer and thought “y’know, you’re pretty smart!”

      • DacoTaco@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        18 hours ago

        Tools are always useful. If its a good thing to (ab)use said tool depends on the tool and if its human or not :p
        … And the job for the tool ofc

    • staircase@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      1 day ago

      Sometimes I just want to use a particular tool, and care less what I’m making with it.

      I rarely get this pleasure at work.