4 ms·
Do you have examples of "just use python 2" still being a thing in 2024?
by orhmeh09 2y ago
Do you have examples of "just use python 2" still being a thing in 2024?
- dmitrygr 2y agoYeah, whenever i need to write a quick script and have no time to suffer "$library needs python 3.x, where x must be > $value and <= $value2, and not a prime except when that ends in a 3, except on leap days" 2 is stable and does not change from under you. Which is what you want in a programming langiuage
- Zopieux 2y agoIn my recent experience, this dependency hell is quite specific to scientific / ML python. The general state of ML code is abysmal, as it attracts a lot of inexperienced developers, and Python's duck/relaxed typing spirit makes it easy to write incomprehensible code with megabytes of unnecessary or bloated dependencies. It's not bad per se, the amount of innovation is impressive, but a lot of it is a castle of cards, from low level libraries to end-user software.
- sadeshmukh 2y agoPython 3.10 seems to work for almost everything, and Python 2 most certainly doesn't. In fact, even latest works for almost everything - there's an alternative to 99.9% of Python 2 stuff in Python 3.