3 ms·
I think Python's standard library is super underestimated. I needed to work on zip files the other day and the Python standard lib included a great implementat
by rtpg 9y ago
I think Python's standard library is super underestimated.
I needed to work on zip files the other day and the Python standard lib included a great implementation with high quality documentation. Languages with minimal stdlibs tend to fall flat on the documentation front, and it adds a lot of friction imo.
Though lua being embeddable is very nice, just coming from trying to embed Python and having a bit of frustration at managing it.
- jtolmar 9y agoI think we could use a reasonable middleground between the awesome standard libraries of Python and Java and the ocean of tiny packages of Rust and Javascript. It'd be nice if a package-managed language could import the huge awesome standard library, automatically drop whatever goes unused, and that mechanism worked well enough that everyone but the most restricted embedded programmers were fine with it.
- rtpg 9y agoTotally. I think that if you can build your dependency graph properly you don't need to package the standard library. The standard library exists partly because packaging was hard, so it's easier to ship a bunch of stuff. But nowadays it could simply be "core libs" that get pulled in on use.
- pjmlp 9y agoPackaging is only part of the whole equation. Quality, available documentation, guaratee of supporting every OS targeted by the language toolchain, and future updates in sync with the language version also matter.
- jasonkostempski 9y agoGoogle Closure does a pretty good job at stripping unused code. ClojureScript is powered by Google Closure. Leiningen gets you package management.