Version 7 of Some common mistakes when programming in Tcl/Tk

Updated 2002-09-06 14:08:19

Purpose: gather references and tips regarding common Tcl programming pitfalls


  1. Cameron Laird has created http://phaseit.net/claird/comp.lang.tcl/fmm.html to document his version of Frequently Made Mistakes (FMM) in Tcl
  2. Is white space significant in Tcl? is another common question/problem.
  3. Quoting hell is another one
  4. Why can I not place unmatched braces in Tcl comments? is another of the common mistake/problems
  5. Recently in comp.lang.tcl, Darren New says: ... "You need to learn the difference between $address and address, and where each is appropriate.", then goes on to explain when one should use $variable_name and when one should use variable_name - some Tcl commands wants the name of a variable, while most want the value of a variable.
  6. Kevin Kenny declares: Update considered harmful
  7. Don't Do That!
  8. Tk image Dos and Don'ts
  9. Overinterpreting metacharacters: "" and {} are just for grouping - foo is "foo" is {foo}. Only at whitespaces and substitutions, they make a difference.

[Category ???]