Overview
| Artifact ID: | 8845f38a885f200d3663795a40af2ccb5187eea5 |
|---|---|
| Ticket: | 0ec75b9a080ccc656d790703216fa64c6bdf7eed
Debug display on shimmering |
| User & Date: | ferrieux on 2016-08-13 09:05:59 |
Changes
- icomment:
Shimmering is in aspect of a *value*'s life, not a variable. This distinction matters, because the value can be shared or copied, with different outcomes on whatever behavior we try to attach to it. Moreover, calling an arbitrary command from deep within the interpreter (at the time the shimmering is decided) raises many implementation issues. Last, letting the script level *act* on the internal status of values simply violates the EIAS principle (Everything Is A String) and leads to varied impredictable situtations. Note we do violate it a bit already with the explicit introspection in ::tcl::unsupported::representation, but the way it is serialized tries to discourage decision-making. In the same vein, a "for-your-eyes-only" variant that (e.g.) writes to stderr when shimmering or Dup'ing (to address the branching history of a value) an intrep, could be useful, and not more dangerous. Deal ?
- login: "ferrieux"
- mimetype: "text/plain"