• jas0n@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    5
    ·
    1 day ago

    Yup. The fact that the “proper” method to develop is to work in a sandboxed environment tells me everything I need to know. I feel like the only thing you learn from python is how to fight python instead of anything about programming. Personally, I think we need to stop recommending it as a first language.

    • Incblob@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      13 hours ago

      So… The proper way is… Global installs? What are you saying here?

      Just use poetry or something, install the environment in your project directory and you’re done. The versions of your dependencies are fixed, so are consistent across installs, and because it’s sandbox you aren’t polluting your system, and vice versa.

      And if you’re using a language that installs the dependencies localy, guess what? That’s what you’re already doing, only with less security.

      • jas0n@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        8 hours ago

        There’s another one?! What’s wrong with venv, pipenv, virtualenv, flit, conda, etc. I just want to write code, not fight with silly tools. It’s a scripting language after all.