2 ms·
Yeah I got bit by that too, once. But it makes sense. If everything is a command, then "#" must also be a command. Essentially like a NOOP. Once I visualize
by na85 13y ago
Yeah I got bit by that too, once. But it makes sense. If everything is a command, then "#" must also be a command. Essentially like a NOOP.
Once I visualized it that way, I never got tripped up by that again.
And regardless of this fact, comments exist. They may not be as convenient as using // or // in C its friends, but they exist. To say that tcl does not allow one to know what a complicated line of code means is absurd.
- dded 13y ago> If everything is a command, then "#" must also be a command In my mind, that's an argument that at least something shouldn't be a command. But perhaps it simplifies implementation enough to be worth it. > To say that tcl does not allow one to know what a complicated line of code means is absurd. Fully agree with you there. And for what it's worth, in the Tcl I encounter, there's rarely a line of code that complicated. Perl is often accused of being a write-only language. I think Tcl, if anything, is the opposite. It always seems readable.