- use "lassign" instead of "foreach" idiom- use namespace prefix instead of "global" statement- use compiled string expressions- use "in" expression instead of "lsearch -exact"
- use compilable expressions- use "in" operator instead of "lsearch"- use tcl 8.5 extended index format for "string range"- brace expressions to allow for tcl compilation