[squeak-dev] Re: Future of Squeak, and outsider's view
stephen at pairhome.net
Tue Jun 30 20:38:16 UTC 2009
On Tue, Jun 30, 2009 at 3:00 PM, Eliot Miranda <eliot.miranda at gmail.com>wrote:
> But as I've said earlier in the thread the extensional approach has
> problems when it comes to managing multiple packages that can overlap (as I
> think s inevitable in imperfect complex systems).
I realize this thread is more concerned with the here and the now, but
doesn't this problem go away entirely in a system like Newspeak? When you
can have modules of code co-resident and active at the same time, wouldn't
you just create a new version of some package on which you depend rather
than patch it with extension methods you define in your own package? Your
code would happily use your version of the package while others happily use
the unmodified version. I can see a potential need in cases where a body of
code is designed to interface with some already present service (for
example, a phone dialer application designed to use an AddressBook service).
But, in such a system, you wouldn't want to allow monkey patching anyway
out of security concerns (if you could override the AddressBook interface,
your code could potentially access information that the owner didn't want
your code to access).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev