Anonymous user
User:Colby Russell/Object builder: Difference between revisions
incommensurability of thawed objects vs original
(the main motivation of this note is actually in capturing the "instantiation through extension" pattern) |
(incommensurability of thawed objects vs original) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1:
Eventually I want an object builder tool that can be helpful for anything from a workspace for handling aliens (like
We might graft some
XXX 2023 March: if we do a simple extension of the original class, we'll run into issues where the thawed object is not a faithful representation of the original&emdash;e.g. its <code>constructor</code> differs. We could work around this by having the synthesized class overwrite these to match the original exactly. This then raises an issue of incommensurability regarding the meta-level facilities that things like <code>constructor</code> were created for. Mirrors and mirror-like things might be one way around this—but how, exactly?
We'll also offer the ability to export an entire workspace, which should consist of the original triple script + any live objects that we've manually interfered with via an inspector. The workspace itself will be an object, exported as above.
|