2 ms·
I had a little contact with the language. The article nails the biggest problem with TCL: "One actual technical problem that Tcl faces is the concept that all
by neves 9y ago
I had a little contact with the language. The article nails the biggest problem with TCL:
"One actual technical problem that Tcl faces is the concept that all values must be representable as a string. This is more or less ok for things like lists, hash tables or numbers, but is problematic when the user wishes to represent a value that simply isn’t a string."
- iainmerrick 9y agoBut what if instead of strings, all values had to be representable as JSON? That would feel much more modern!
- wrenky 9y agoThats actually not totally true. Internally, Tcl has two value types, string representation and actual value representation. Everything DOES have a string-representation though- some are made up (like file handles, fileX) and some are just ASCII forms of the values underneath (like integers). Tcl is cool because you can manipulate the string form of values incredibly easily, but people confused this with "Everything is a string". It should be "Everything can be manipulated like a string".