• onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    I don’t know when the last time you worked on a python project was (professionally or privately), but things have changed. If all you know if python and python projects from 10 years ago, I’d agree with you, but modern python projects can be made very maintainable. See my other comment.

    As for meta programming, dude, I don’t know if you’re seen C++ templates…

    Anti Commercial-AI license

    • FooBarrington@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      5 days ago

      Yes, they can be written in maintainable ways, I didn’t disagree in my original comment. That doesn’t change that most of the projects I come across to this day are absolutely unmaintainable messes. I’m not talking about Python from 10 years ago, I’m talking about the projects I encounter now.

      The biggest issue is that you have to limit yourself to a mostly non-dynamic subset of Python if you want type checking etc. to work, and you have to write your own type definitions for many dependencies. Most projects don’t do that, they instead lean into the dynamic nature of Python, which makes them unmaintainable after little time.