3 ms·
I really like Tcl for scripting. It integrates better and any other language I know with the shell and making a simple quick gui that runs some cli script or co
by _benj 3y ago
I really like Tcl for scripting. It integrates better and any other language I know with the shell and making a simple quick gui that runs some cli script or command based on some (also gui) inputs is fantastic! (using Tk)
I wrote a little silver for wordle in Tcl, but that’s a funny statement because it was mostly using ripgrep calling /usr/share/dict/words but I think that’s part of it charm, it get out of the way and let use you whatever tools and integrates them beautifully!
- coliveira 3y agoI believe that the fact that tcl integrates so well with UNIX is exactly the reason why industry doesn't like it. They want to invest in languages and technologies that can work seamlessly in commercial OSs like Windows and macOS.
- ofrzeta 3y agomacOS is Unix, though.
- anthk 3y agoMac OS pre OSX wasn't.
- jolux 3y agoUNIX was originally a commercial OS…unless by UNIX you mean Linux or BSD. Plus macOS is UNIX too.
- pjmlp 3y agoNo it wasn't, Bell Labs was forbidden to use it for commercial purposes. The lawsuit against BSD and prohibition of the Lion's commentary book, came shortly after US goverment allowed AT&T to profit from UNIX. Had UNIX been commercial from its early days, at the same price as comparable OSes of its time, most likely UNIX and C would never have taken over the server room and kernel systems programming.
- tgv 3y agoI've never liked it. I tried it when it was getting some traction (which must have been in the 90s, I guess?), in particular because of Tk (initially I thought Tcl/Tk was the name), and I found it a horrible experience. Its "everything is a string, even this line of code" was way too hacky for me. It was too easy to make errors, and I suspect that sql injection pales in comparison to what careless string manipulation in tcl can do.