Andreas Rossberg (2013-08-22T11:03:00.000Z)
domenic at domenicdenicola.com (2013-08-25T01:02:11.638Z)
On 21 August 2013 16:46, Erik Arvidsson <erik.arvidsson at gmail.com> wrote: > I don't think it is worth covering these kind of new scenarios. We are > patching a broken feature here. I understand, but when the intent is to patch something, then I think that the semantics of the patch should be in sync with the thing it's patching. Here is a not completely unlikely scenario where it might matter: * Some library author thinks it's a good idea to monkey-patch Object.prototype and extends it with a new method. He is aware of the danger of doing so, so wants to play nice(r) by making the extension unscopeable. * Some application uses the aforementioned library. In another part it has a 'with' statement that contains a call to some function that can trigger lazy loading of the library under certain circumstances. With the problem being as dynamic as it is, I think the workaround should be equally dynamic.