Get the latest tech news

Tcl the Misunderstood (2006)


In an article recently linked from reddit entitled Tour de Babel you can read (among lots of other nonsense): Heck, people still use Tcl as an embedded interpreter, even though Python is far superior to Tcl in every conceivable way -- except, that is, for the frost thing. Ok, the whole article is well..

Instead, things work in a different way: in order to make Tcl more friendly there is a command taking infix math expressions as argument and evaluating them. where the while command takes two arguments - the first string being evaluated as an expr ession to check if it's true at every iteration, and the second eval uated itself each time. If you are a Lisp programmer you know how beautiful is to have a flexible data structure like the list everywhere in your programs, especially when the literal is as simple as "foo bar 3 4 5 6" in most cases.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of TCL

TCL

Photo of misunderstood

misunderstood

Photo of Antirez

Antirez

Related news:

News photo

Why I Like Tcl

News photo

Tcl 9.0

News photo

Tcl under fire: report suggests its QLED TVs might not have any quantum dots