This is a page where jima collects his "do this" and "don't do that" experiences with tcl.Everybody is welcome to comment and add their own.
Always end your proc's with return.This helps clarifying things.Consider using codes as well (I mean return -code).
Strings should always be quoted with "This helps clarifying things.If a string is so big that it does not fit well in one line (I normally go for 78 char lines when coding) use / to jump to another line.
LVwikignome So, do you mean to use \\ to extend the string to another line? I am just trying to figure out how one would use the slash.The empty string is "".
In XOTcl, never use non-positional arguments on instproc init.See [1].