4 ms·
Tcl is my favorite scripting language for these five reasons: + It combines macro ish text substitution with really, really, really good scoping and loop const
by forkandwait 12y ago
Tcl is my favorite scripting language for these five reasons:
+ It combines macro ish text substitution with really, really, really good scoping and loop constructs.
+ A built in event handler is awesome.
+ Tk widgets look just fine for the one off GUI that routinizes a single repetitive task.
+ (Surprisingly) I almost never need float math in a script, one of the things it's not good at.
+ Tcl doesn't try to provide what should be done in C anyway (Python, Perl, Ruby I'm looking at you....)
- a8da6b0c91d 12y ago> good scoping Wait, you like the upvar stuff?
- forkandwait 12y agoYes, because you rarely need upvar, but when you do, only tcl has it. Also, i know of no other language with macro like substitution along with real local variables.
- xantronix 12y agoIt's astounding the crap [upvar] lets you get away with, ESPECIALLY making your own loop constructs. I'd be boned without it for doing request parsing without the ability to share a string buffer by name, for instance.