4 ms·
I think it's fine to not have functionality in the standard library if it can be implemented by including some code in my project. It's not fine to have a stan
by kragen 1y ago
I think it's fine to not have functionality in the standard library if it can be implemented by including some code in my project. It's not fine to have a standard library that stuff disappears from over time.
- spockz 1y agoWhenever code is removed from the Java standard library it is announced ages ahead of time and then typically it becomes available in a separate artefact so you can still use it if you depended on it.
- kragen 1y agoI wrote an online securities trading system in Java, with a little Jython. Java is reasonably good at stability, but I find it unappealing for other reasons, especially for prototyping. Kotlin might be okay. Jython no longer works with basically any current Python libraries because it never made the leap to Python 3, and the Python community stigmatizes maintaining Python 2 compatibility in your libraries. This basically killed Jython, and from my point of view, Jython was one of the best things about Java.
- mike_hearn 1y agoNote that Jython was replaced by GraalPy, which does target Python 3
- kragen 1y agoI hadn't heard about GraalPy! Thanks for the note.
- getdoneist 1y agoRuby has been removing stuff from stdlib for some time now. But "moving" is the correct word, because it is simply moved to a stand-alone gem, and with packaging situation in Ruby being so good, it feels completely seamless.
- WD-42 1y agoIt is fine though. CGI for python is one pip install away, as it is for the other languages you listed. Most rational people are ok with code being removed that 99.99% of users have absolutely no use for, especially if it is unmaintained, a burden, or potentially contains security issues. If you are serious about cgi you’ll probably be looking at 3rd party modules anyway.
- LtWorf 1y agoI don't think it's reasonable to expect that most python installs use pip
- simonw 1y agoWhy not?
- cb321 1y agoI'm not sure what @LtWorf means, exactly, but one reason I can think of is that on Linux (Gentoo & Debian at least), the system package managers are not putting pip in place by default with python itself, the way they used to. The rationale, I believe, is to steer users towards using the system package manager or only doing ~/.local style things. EDIT: So, you get threads like this https://stackoverflow.com/questions/65651040/what-is-the-recommended-replacement-for-pip-in-debian-ubuntu-where-there-is-no-d https://stackoverflow.com/questions/65651040/what-is-the-rec... and so on