4 ms·
I miss you Tcl. Upvar, uplevel, how's it hanging guys? While this is a neat little repo, this is totally unnecessary in Tcl. Being a much more flexible langu
by smrtinsert 8y ago
I miss you Tcl. Upvar, uplevel, how's it hanging guys? While this is a neat little repo, this is totally unnecessary in Tcl. Being a much more flexible language than a C++ inspired OO, it had its own idioms that were much more succinct.
- haolez 8y agoTcl is awesome. It's like Python having a baby with bash, and the baby is actually pretty :D For me, it's one of those languages that change your way of thinking about programming and you will take that with you, no matter what language you will be working on.
- monetus 8y agoIIRC, the TCL interpreter is included in the python one. The baby analogy is pretty apt, just backwards.
- andrewshadura 8y agoNo, it’s not. But it comes with Tkinter, since Tk is a Tcl extension.
- bch 8y agoIt is actually. Tkinter is the python interface to embedded Tk, which necessarily includes Tcl. Larry Wall once quipped “Tcl tends to get ported to weird places like routers”. If only he knew... Ref: https://stackoverflow.com/questions/16439936/how-to-call-tcl-procedure-using-python#16440585 https://stackoverflow.com/questions/16439936/how-to-call-tcl...
- nrclark 8y agonote on this - Tkinter does come with a TCL interpreter for sure. But not all Pythons come with Tkinter (source: I've packaged Python for embedded systems)
- bch 8y agoAhhh... I think we were talking past each other a bit above, but your comment above is clear, and probabaly what everybody in the thread really meant...
- nrclark 8y agoSame. I learned TCL back when I was a full-time FPGA engineer (it's the standard scripting language for most FPGA toolchains for whatever reason), and I actually really liked it. TCL is a weird little language, and has a lot of beauty in its own way. It's hyper-flexible almost like a Lisp, and looks like some kind of Bash/C hybrid. Or maybe Python with an "everything is a string" implementation. I wish it was more popular industry-wide, because the interpreter is small and the language is feature rich. If I could convince anybody else at my company, we'd ship more TCL and less shell scripts in our products.