6 ms·
I like the presentation, but for me it just underlines how it's smart to stay far away from Python. It's great that it's improving, but many other languages hav
by skrebbel 15y ago
I like the presentation, but for me it just underlines how it's smart to stay far away from Python. It's great that it's improving, but many other languages have a much better library/API situation than Python has had for years already. Will Python catch up fast enough?
- ak217 15y agoIt's quite the opposite, actually. Python already has an extremely good and very capable standard library, arguably better than any other language. Python also has a community with a strong sense of what kind of API design best fits with the Python philosophy (which usually boils down to readability and consistency). So there are many efforts going on to improve the standard libraries. For example, the standard library already has urllib2, which provides HTTP support much better than most other languages' standard libraries. But Requests is a rewrite of it, taking ease of use to a whole new level without compromising any of the features. There is no equivalent in any other language.
- frodwith 15y ago"There is no equivalent in any other language." I don't know, LWP is pretty easy to use.
- pbreit 15y agoDoes Perl come with LWP?
- adeelk 15y agoIf Python has a better standard library than the other languages you know, then you should learn some more languages.
- teach 15y agoDo you have some examples? I thought I knew a fair number of programming languages, and Python's got one of the most comprehensive. IMO, Python's stdlib beats C++, Ruby, Java, javascript and Perl....
- Silhouette 15y agoPython's library is comprehensive "on paper". Vast amounts of it are actually incomplete or outright broken when you try to use it in practice. The reliable parts of Python's standard library are at a level little beyond C and C++ and far behind Perl/CPAN, Java, .Net and so on. And even then, as the article we're discussing points out, the APIs aren't actually very good a lot of the time.
- skrebbel 15y agoYep, basically my point. But you're formulating it better :-)
- briancurtin 15y ago> It's great that it's improving, but many other languages have a much better library/API situation than Python has had for years already. As someone who has spent the last 5.5 years at a job where I didn't need anything but the standard library, I don't agree. What are these other languages that contain a better situation?
- pnathan 15y agoWell, Perl's CPAN has an uninstall feature. That's kind of nice.
- njharman 15y agocpan is very much not a std lib. PyPi is equiv.
- prakashk 15y agoDepends on what your definition of "std lib" is. If you say a "std lib" is something that is installed along with the language, then CPAN fits the bill. $ corelist CPAN CPAN was first released with perl 5.004
- kc5tja 15y agoThat's more of a standard tool, not a standard library. Rather, a library is a collection of reusable components. A Standard Library, then, are pre-equipped collections of reusable components. Here, we define "reusable" as invokable from within the language, as first-class constructs. Even if CPAN was a standard library, that which you install from it is clearly not, which is what the argument to date has centered around.