94 points · by notduncansmith · 11y ago · 64 comments
Jokes aside, TCL was for a long time my goto language for anything quick and dirty. As a result, I don't mind TCL at all. I still use Tk quite often. It might not look pretty, but it works and more crossplatform than other ui toolkits.
Dont worry to much though, the syntax grows on you :)
I've already sent one on a minor formatting issue, but about one third into that article, the formatting goes permanently haywire.
Weird how no one has noticed until now?
That said, the document needs work - the syntax highlighting got very confused at some point, and a bunch of the lines are much longer than the width of the document, and don't wrap.
Tcl looks like a nice little language that makes it really easy to write really horrible code. Probably with some discipline you could keep it tidy and comprehensible though.
Talking about Guile, lots of fun things happening there lately. wiki.tcl.tk is a lot of fun too.
Could you please explain why some languages are better at being "embedded and/or extended"? Why would Guile be simpler to embed than Ruby?
My comment was more about the state then than the state now. At that time few, if any languages were designed from scratch to be extended and embedded. Tcl and Guile, to my knowledge were among the first. Tcl interpreter is a library. IMO Guile has grown beyond that charter and is more of a stand-alone Scheme now, but one that can be easily embedded / extended, but so is Chicken I guess.
That said, Tcl is the worst parody of a programming language since the invention of BASIC and Brainfuck. All you need to know about it is two words: Stay away.
http://www.sqliteconcepts.org/THManual.pdf
The entire implementation's about 4k lines of code.
I think many people have trouble with TCL because it looks a lot like C and so they expect it to behave roughly like C. But TCL is a fundamentally different language. It is better to think of TCL as LISP with C-like syntax. Once you grok this difference, TCL becomes a very elegant language.