[plt-scheme] When would you use units rather than classes?
On Fri, Apr 4, 2008 at 5:09 PM, Henk Boom <lunarc.lists at gmail.com> wrote:
> I am curious as well, though I'd like to note that modules belong in
> this discussion as well, as "seperately compilable and reusable
> components."
>From what I can gather, a module defines its dependencies, and how
they are fulfilled, only once. Every time that modules is utilized,
its internal bindings are the same.
Units define their dependencies, but not how they are fulfilled. Every
time you utilize a unit, you must satisfy its requirements.