▲ | zahlman 5 days ago | ||||||||||||||||||||||
Pip has changed a lot in the last few years, and there are many new ecosystem standards, along with greater adoption of existing ones. > I'm often dealing with files with several thousand lines of code and heavily nested functions. This is the problem. Also, a proper editor can "fold" blocks for you. > Being able to see the type of data at a glance tells me a LOT about what the code is doing and how it's doing it - and Python doesn't let me see this information. If you want to use annotations, you can, and have been able to since 3.0. Since 3.5 (see https://peps.python.org/pep-0484/; it's been over a decade now), there's been a standard for understanding annotations as type information, which is recognized by multiple different third-party tools and has been iteratively refined ever since. It just isn't enforced by the language itself. > Mix other languages in and suddenly it becomes pain.... This isn't always true for compiled->compiled. Sure, but then you have to understand the assembly that you've stepped into. | |||||||||||||||||||||||
▲ | Night_Thastus 5 days ago | parent [-] | ||||||||||||||||||||||
>This is the problem. Also, a proper editor can "fold" blocks for you. I can't fix that. I just work here. I've got to deal with the code I've got to deal with. And for old legacy code that's sprawling, I find braces help a LOT with keeping track of scope. >Sure, but then you have to understand the assembly that you've stepped into. Assembly? I haven't touched raw assembly since college. | |||||||||||||||||||||||
|