|
|
|
|
|
by tyingq
3706 days ago
|
|
> I really, really like that "Why?" explanation page; Me too. Especially the comparison of tcl to their language: set x [expr {[lindex $red $i] - [lindex $blue [lindex $green $i]]}]
vs
x = red[i] - blue[green[i]]
I had to work in Tcl early in my career...80 hours a week for a straight year, so I recognized that madness immediately. |
|
On the topic of expr, though, it can be avoided if desired in favor of Lisp-style prefix operators: http://www.tcl.tk/man/tcl8.5/TclCmd/mathop.htm