• 18 Posts
  • 1.92K Comments
Joined 1 year ago
cake
Cake day: August 17th, 2023

help-circle






  • 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.






  • Python is by far one of the worst languages I’ve ever seen in relation to maintainability, second only to Javascript (due to missing types, which are fixed by Typescript).

    Seriously, it’s rare for a Python project with more than 1,000 lines to not turn into an absolute mess thanks to the layers upon layers of meta programming, weird edge cases and so on. There are whole bad patterns I’ve never seen beyond Python codebases.

    Things are improving slowly thanks to type hints and so on, but they are still far from where they need to be. Python is used in even more dynamic ways than JS, so the type system needs to be more expressive than TS. You can’t even define a function that appends two tuples with proper type hints!





  • “Mile wide and inch deep” is a great way to put it.

    I’m playing through the game right now, and there’s a bunch of small annoyances (like getting stuck on invisible terrain while walking/driving), but I can overlook those. But so many things are lifeless beyond the basic game mechanics.

    As an example, I just bought an expensive apartment. I didn’t expect a crazy cutscene or anything, but at least the person I bought it from should have shown some kind of reaction, maybe a short dialogue. But no, nothing. I pressed the button, money was subtracted, and I can enter the elevator. The person I bought it from didn’t even look up.

    Compare that to something like Baldurs Gate 3, where even small unlikely interactions have surprising amounts of interactivity. The game oozes life out of every pore.

    It’s depressing that this is the final state after so many updates.