OTW: "[L]ike chess or go, even with very simple rules things can get
quite complex to understand." -- Michael Schlenker
"Paranoia pays off in terms of good habits..." -- Donal K. Fellows
POTW: smake 1.1 by Kristoffer Lawson. "smake is a utility that allows
developers to build makefiles in 100% TCL"
How to detect the destruction of text tags and embedded
windows, without allowing the destruction of the text widget:
Experienced Tclers know to to keep paired delimiters balanced
even in comments, but what about in variable names?
Tempers flare as the flames of "exec hell" leap higher, but calm
reason returns and leads to a philosophical discussion of whether
Tcl's essential beauty makes its warts all the more ugly:
What does underlining a letter in a menu entry get you?
Not getting any data from a readable channel? Did you check
for EOF? Are you using -buffering line? All this and more (like
why you should always catch your close) is discussed in:
Discussion of a VT100 terminal library:
If you hate .really.long.names.that.take.up.lots.of.space, just be
glad you're programming with Tcl and not low-level Xt widgets!
In Tcl there are workarounds:
Thanks to Arjen Markus for his summary of recent Wiki activity:
Let us try an overview in categories again (it seems so long ago :)
Here are a few pages on programming techniques:
- Create your own control structures? Why not, it can be done in Tcl,
and <http://wiki.tcl.tk/685> has plenty of examples
- Justifying text is just one of the many things you might want to
do to strings, words and sentences. But an important one:
<http://wiki.tcl.tk/2774> will help.
- Making a network without directly communicating with each other,
the so-called publish/subscribe paradigm? Well, tuplespaces are
an elegant approach - <http://wiki.tcl.tk/3947>
- Making a network of two? Then PCOM may be what you want:
- But keep it simple (<http://wiki.tcl.tk/10147>) and refactor
your code (<http://wiki.tcl.tk/10144>).
Just some thoughts:
- What is missing from Tcl's list functions? Or just what would be
nice in addition? <http://wiki.tcl.tk/43> has been around for
quite a while and new additions find their way to it.
- Clipboards (yes, the cut-and-paste thingies, not the pads with
paper and pencil): do they play well with Tcl/Tk? <http://wiki.tcl.tk/2431>
- Oh, there is a place for thoughts on the loose: <http://wiki.tcl.tk/8858>
And now for something completely different: graphics
- What is the alternative to an analogue clock? Right: a binary one!
<http://wiki.tcl.tk/1011> has both.
- Insects other than bugs sometimes make it to the computer scr