• anticurrent@sh.itjust.works
    link
    fedilink
    arrow-up
    12
    arrow-down
    7
    ·
    2 days ago

    Every time I open a js file from some project I have to tweak to use on my website, I get a brain aneurysm. that shit should never have been invented. python in the browser is the dream we are not allowed to have.

    ps: I am just a hobbyist ! so take it lightly.

    • LANIK2000@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      2 days ago

      Idk, my only experience with python is that any app written in it doesn’t fucking work, throwing some esoteric error that has nothing to do with the error at hand and then me needing to look up what unholy specific version I need and manually setting up an environment for it. I dread the day when I’ll want to try some random project and yet again the only way to run it will be some shady ass python script.

      JS is pure crack and has no right being the backbone of the web, but python is borderline unusable in my experience.

      • Rogue@feddit.uk
        link
        fedilink
        arrow-up
        3
        ·
        22 hours ago

        I avoid anything written in Python. It’s not the language at fault it’s the ease of entry so you get a lot of low quality software.

      • logging_strict@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        19 hours ago

        U are not wrong.

        Dependency management is tough and often frustrating. Dealing with resolving dependency conflicts is unavoidable. This area is a constant focus of development, so could see improvements over time.

        Some packages to keep an eye on:

        pip & setuptools

        pip-tools (specifically pip-compile)

        https://pypi.org/project/pip-compile-multi/

        poetry

        Any others i’ve missed?

    • Oscar@programming.dev
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 days ago

      Somebody should write a python to javascript transpiler for the web…

      (please don’t actually do that)