this post was submitted on 18 Nov 2024
34 points (88.6% liked)

Python

6393 readers
10 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

๐Ÿ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

๐Ÿ Python project:
๐Ÿ’“ Python Community:
โœจ Python Ecosystem:
๐ŸŒŒ Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] onlinepersona@programming.dev 1 points 1 day ago (1 children)

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 2 points 1 day ago* (last edited 1 day 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.