3 ms·
Yeah, but that just changed internally, in the language everything is still a string.
by takeda 7y ago
Yeah, but that just changed internally, in the language everything is still a string.
- wrenky 7y agoA better way to phrase it (..even before tcl 8) is that everything can be TREATED like a string. Numbers arent being converted to and from strings, things like sockets/files arent strings (their handles are though!)
- _ph_ 7y agoRight. I think the one great feature it shapes with Lisp is, that everything has a textual representation. That means, all types of values can be presented as text and can be recreated from a textual representation. For Lisp, it is S-Expressions, which can be printed and read, for TCL it is the syntax which can be printed as strings and interpreting strings as data.
- dmux 7y ago>I think the one great feature it shapes with Lisp is, that everything has a textual representation. Is this true even for procedures? I was recently playing around with Scheme and was disappointed that once a procedure is defined, it got internalized and didn't have a textual representation other than #<proc> or the like. In TCL, procedure signatures and bodies are stored within the runtime. You could essentially dump the entire state to a TCL file.