On Feb 16, 2009, at 4:46 PM, Frank Barknecht wrote:
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
To be clear, the libraries will all still be included in the package, they just won't be loaded by default. That means you'll have load them as part of the patch using either [declare] or [import], or using namespace prefixes like [cyclone/prepend]. This puts us further towards the goal of having all of the patch settings stored in the patch itself, making it more likely to work on more computers.
How does minimizing the number of "loaded libraries" affect the goal of storing preferences in patches?
So people don't rely on the libraries being already loaded and explicitly set the libraries that the patch requires. This is how it works with C, PHP, Java, Python, C++, Tcl, etc. etc. etc. If you want to use a library, you need to include/declare/require/import it where you need it.
.hc
----------------------------------------------------------------------------