Re:Micropackages and Open Source Trust Scaling
by dec0dedab0de on Thursday March 24, 2016 @11:32AM
(#11353597)
Maybe the solution for highlevel languages is to just routinely add useful helper functions, either in separate name spaces or directly to global with a naming convention to avoid conflicts. If thousands of people are doing the same thing it really doesn't make any sense for them to all come up with their own version.
[ Parent
| on HN ]
Re:Micropackages and Open Source Trust Scaling
by tetha on Thursday March 24, 2016 @11:46AM
(#11353735)
Thinking about this for the last few days, I think the Java SE / commons-approach seems the most sensible to me.
Your stdlib is bundled with the language runtime and contains binaries, OS interactions and the necessary fundamental stuff. Updating this is hard, because this depends on hard things like the OS, and because it must maintain compatiblity with everything.
However, the commons-package can add all kinds of pure (as in, just the language in question) stuff to the language, such as several dozens of collections, all kinds of utility languages, and so on. Updating this would be a lot less risky than updating the entire language runtime, especially if it uses proper semantic versions. This would allow this lib to iterate faster and include these utility-functions easier as well.
Re:Micropackages and Open Source Trust Scaling
by dec0dedab0de on Thursday March 24, 2016 @12:01PM
(#11353880)
The example that always drives me crazy is itertools in the Python standard library. In the documentation there is a recipes* section that lists 23 helpful functions, instead of just including them in the library