top | item 47037994

(no title)

apgwoz | 13 days ago

There have always been attempts at caching non-string values in Tcl for performance gains, but the semantics are the same. The value’s types are whatever the operator requires and an error when not compatible. If, internally, $x is an integer, and you pass it to a string function, well, $x gets temporarily turned into a string. Dynamic with “weak” types.

discuss

order

pjmlp|13 days ago

Which is exactly the quoted text.

apgwoz|13 days ago

No. The quoted text says nothing about the value semantics, only the representation…