• jedibob5@lemmy.world
    link
    fedilink
    English
    arrow-up
    38
    ·
    8 hours ago

    The whitespace doesn’t bother me. Any IDE worth a damn will manage that for you. As for the type system, yeah, I strongly prefer static typing, but for simpler projects I can see the convenience of it.

    My real issue with Python comes with managing a development environment when multiple developers are working on it. Dependency management in Python is a headache, and while in theory, virtual envs should help with synchronizing environments from machine to machine, I still find it endlessly fiddly with a bunch of things that can go wrong that are hard to diagnose.

    Python is great for small scripts, proofs-of-concept, and such, but I wouldn’t write anything more heavy-duty than that in it.

    • morrowind@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      Any IDE worth a damn will manage that for you.

      Yeah in like 10% of cases. I’m copying something from a pdf my prof gave. The only ones able fix spacing now are me and God

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      5 hours ago

      You can totally write heavy duty things if you know what you’re doing: use type hints, static checkers, tests, etc. It just takes a bit more effort and care.

      • ByteJunk@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        3 hours ago

        But why would I use something that takes more effort and care?

        I’m sure you’re right and it’s possible, but if I don’t have to fix another python project at work I’ll be in heaven.

        • grue@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 hour ago

          Because “more effort and care” in Python is still way less of a pain in the ass than the minimum enforced boilerplate necessary in most other languages.

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        5 hours ago

        Personally, my estimate doubles when we’re asked to implement something in Python…

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

          That’s a proficiency matter. Python is the language I can get something done the fastest today, but 6 years ago that would be Java or even JS for me.

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      6 hours ago

      Yeah, working on python projects professionally is always a nightmare of configuring env variables and trying to get your system to perfectly match the reference dev system. I find Node.js projects to often be the simplest and most pain free to setup, but even compiled languages like C# and Java are often easier to get up and going than python.