Live data from Hacker News

TclWise: Guide to the Tcl programming language (2004)

invece.org

11–15 of 15 posts

Re: TclWise: Guide to the Tcl programming language (2004)

#11
post #3

if someone is really interested in learn Tcl (not Tk) i strongly recommend "Tcl 8.5 Network Programming" by Wojciech Kocjan and Piotr Beltowski while the book is not very recent, Tcl didnt change much in the past few years Tcl is really a super nice language, i think if they manage to get a cpan like platform, and maybe decent ide support .. it should be on every programmer list of languages

I disagree, "everything is a string" makes for sloppy programs. Programmers should be learning languages with good type systems if they want to build anything larger than some simple glue scripts. I interned at a large company which had hundreds of thousands to millions of lines of Tcl scripts to customize an engineering package they use. It was a complete nightmare. It would be preferable to have less of those in th…

Thank goodness that in our enlightened post-Tcl modern age million-line code nightmares no longer exist.

Re: TclWise: Guide to the Tcl programming language (2004)

#12
post #10

Earlier quoted context omitted.

What makes Tcl special and worth to learn?

(not OP, but hope you don't mind my $0:02) tcl is what you get when you take shell and lisp, and smash them into each other. In many ways, its a lisp whose central data structure is the string, rather than than the linked list (so, a sisp?). And instead of macros, you have fexpressions (functions which can decide at runtime whether or not to evaluate its arguments). When you understand it like that, you can write som…

If you like using Tcl as a replacement for bash you might enjoy "pipethread"

http://www.rkeene.org/tmp/pipethread-presentation-withnotes....

https://chiselapp.com/user/rkeene/repository/pipethread/

Re: TclWise: Guide to the Tcl programming language (2004)

#13

Earlier quoted context omitted.

I disagree, "everything is a string" makes for sloppy programs. Programmers should be learning languages with good type systems if they want to build anything larger than some simple glue scripts. I interned at a large company which had hundreds of thousands to millions of lines of Tcl scripts to customize an engineering package they use. It was a complete nightmare. It would be preferable to have less of those in th…

Thank goodness that in our enlightened post-Tcl modern age million-line code nightmares no longer exist.

I'll take a statically typed million-line code nightmare over a Tcl one every time.

Re: TclWise: Guide to the Tcl programming language (2004)

#14

Earlier quoted context omitted.

Thank goodness that in our enlightened post-Tcl modern age million-line code nightmares no longer exist.

I'll take a statically typed million-line code nightmare over a Tcl one every time.

De gustibus non est disputandum.

Re: TclWise: Guide to the Tcl programming language (2004)

#15
post #12
post #10

Earlier quoted context omitted.

(not OP, but hope you don't mind my $0:02) tcl is what you get when you take shell and lisp, and smash them into each other. In many ways, its a lisp whose central data structure is the string, rather than than the linked list (so, a sisp?). And instead of macros, you have fexpressions (functions which can decide at runtime whether or not to evaluate its arguments). When you understand it like that, you can write som…

If you like using Tcl as a replacement for bash you might enjoy "pipethread" http://www.rkeene.org/tmp/pipethread-presentation-withnotes.... https://chiselapp.com/user/rkeene/repository/pipethread/

(sorry for the late reply, just saw this now)

Thanks for the info - reading your pdf now :-)

Post reply on HN