3 ms·
I'd not call python stable, a language where new major releases are breaking compatibility with previously written programs for that language, for me personally
by dusted 4y ago
I'd not call python stable, a language where new major releases are breaking compatibility with previously written programs for that language, for me personally, is offending beyond the point of polite conversation.
Now, js and its ecosystem are two different beasts.. The language itself is fairly hipster, but the frameworks and some of the people writing them are even more so, they like to move fast and break things, and to be honest, there should be corporal punishment for every dependency you pull via yarn or npm, and additional (if lesser punishments) for each dependency they pull.
Drop as much out of that ratrace you can and concentrate on writing your software.
- harel 4y agoThe switch from python 2 to 3 was a breaking change, and for a good reason. This transition was necessary to bring the language to more modern times and took a long time to complete. It was a singular event and It is now mostly a non issue as most codebases are py3. In other words, not the best example.
- woojoo666 4y agoWhat about the python dependency system? Pip/requirements.txt => pipenv => Poetry
- Master_Odin 4y agoThe python packaging story is a huge wart on an otherwise stellar language. I do wish poetry (or pipenv) would be blessed as the way, or they'd accept PEP-582. However, as an observer, they're trying super hard to be totally BC and it's just prolonging the pain, especially as you compare python against other interpreted languages like node or PHP.
- harel 4y agoIt's a choice - use what works best for you. They all collect the packages from the same place by default.
- woojoo666 4y agoThe issue is that because there was never an early community consensus on a package management system, I come across github projects that don't declare dependencies at all, and I have to look through the code to figure out what to install. This never happens with, say, javascript projects. And people know this is an issue in python, which is why we have Poetry now. So at least in terms of dependency management, I would say Python is less stable than Javascript
- harel 4y agoThat sounds like some a case of a random repo by someone who didn't do anything for public consumption. This is not a norm and I don't think you can judge the Python ecosystem by this case just as one cannot judge the JS world from one rouge package or a package that contains a one liner. I work a lot with both python and javascript and the points you raise just don't seem applicable. Neither are more "stable" than the other. They are what they are - cons and pros and all that.
- woojoo666 4y agoI'm not calling python less stable overall, just in terms of package management, as a counterexample to OP who was saying that python is more stable than javascript