[ prog / sol / mona ]

prog


Scripting language of choice

46 2023-11-07 20:03

>>43
Tcl is actually nice language (but perhaps uplevel and upvar can be a bit insane (if used carelessly)). But I think this is similar to how some outsiders call Perl a "write-only language", which is not true (unless the code was written by a bad programmer.). In Tcl everything is a command and everything looks like a string. Tk is still the easiest and most convenient GUI toolkit (there is a reason why Python and Ruby imported it). Expect is still the best tool for automating interactive cli tools.
PS. check out Tcllib.

How about you give Tcl a try?
-> https://wiki.tcl-lang.org/page/Tcl+Tutorial+Lesson+0 <-

If you prefer a book...
- The Tcl Programming Language: A Comprehensive Guide: https://www.magicsplat.com/ttpl/index.html
- Practical Programming in Tcl and Tk: http://www.beedub.com/book/
- Exploring Expect: https://wiki.tcl-lang.org/page/BOOK+Exploring+Expect

quick rundown on Tcl: http://antirez.com/articoli/tclmisunderstood.html

66


VIP:

do not edit these