Re:Idioms: Building High Performance Networking Servers Usin...
by ciupicri on Friday August 29, 2014 @09:39AM
(#8242402)
For me it's more like gee, I had a job writing Tcl and it was so much "fun". I've just tried the example from "Read messages chunk by available chunk" and got:
I replaced [list handle_data $chan] with a plain handle_data $chan, but then another bug come up:
The fun never stops :-) In a way Tcl makes shell scripting (Bash) look wonderful because at least there you can't expect much from it, whereas Tcl presents itself more like a "real", full-blown programming language.
[ Parent
| on HN ]
Re:Idioms: Building High Performance Networking Servers Usin...
by adunsmoor on Friday August 29, 2014 @09:55AM
(#8242467)
Your error looks like there might be an extra space after the line continuation (backslash) in the example.
The trace command is split in to 2 lines for readability but the web page's formatting introduced a hidden space if you try to copy/paste the example in to a tcl script.