Version 0 of Do and don't

Updated 2006-08-19 11:29:30

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 procs 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.

The empty string is "".

In XOTcl never use non-positional arugments on instproc init.

[L1 ]