The only time I’ve dealt with Tcl in recent memory was for some MacPorts portfile stuff. Anybody using it for something else and can speak to why you’d use it today? Genuinely curious; I don’t hate the language but can never bring myself to enjoy it either.
Copy-pasting a "hype" checklist I made some eons ago: * Extremely consistent and elegant syntax - whole syntax/grammar is described in 12 rules in a single man page (Tcl(n)) of 150 lines and there's no reserved keyword. Nearer to CL than Python on that point. * Homoiconic through strings (like almost every language with eval) but most importantly, through "list-like" strings. * Official man pages! No web-only and spe…
Tcl 9.0
211–220 of 247 posts
Re: Tcl 9.0
#212Earlier quoted context omitted.
I think he also wrote an implementation of a tcl-like language called Jim.
No, that was by Steve Bennett.
Re: Tcl 9.0
#213Earlier quoted context omitted.
> It is really hard to describe just how much better Tk was than anything else in the time frame. This[0] vs (from memory w/o a computer atm…): #!/bin/env wish button .b .b configure -text “push me” -action {puts “don’t push me!”} pack .b [0] https://users.cs.cf.ac.uk/Dave.Marshall/X_lecture/node5.html... ====== #include #include /* Prototype Callback function */ void pushed_fn(Widget, XtPointer, XmPushButtonCallback…
-command instead of -action, but otherwise perfect! :)
Re: Tcl 9.0
#214Earlier quoted context omitted.
Copy-pasting a "hype" checklist I made some eons ago: * Extremely consistent and elegant syntax - whole syntax/grammar is described in 12 rules in a single man page (Tcl(n)) of 150 lines and there's no reserved keyword. Nearer to CL than Python on that point. * Homoiconic through strings (like almost every language with eval) but most importantly, through "list-like" strings. * Official man pages! No web-only and spe…
>refcounting does the job since no cycles are possible by design So double-linked list is impossible to define?
Re: Tcl 9.0
#215Earlier quoted context omitted.
Copy-pasting a "hype" checklist I made some eons ago: * Extremely consistent and elegant syntax - whole syntax/grammar is described in 12 rules in a single man page (Tcl(n)) of 150 lines and there's no reserved keyword. Nearer to CL than Python on that point. * Homoiconic through strings (like almost every language with eval) but most importantly, through "list-like" strings. * Official man pages! No web-only and spe…
Hey, you missed out coroutines :-)
Re: Tcl 9.0
#216Earlier quoted context omitted.
The site is ugly and difficult to navigate. Go there and enter TCL in the search box and see how many clicks you have to do to actually find the project. Then when you click the download button a timer has to run out before the download will start. Maybe it technically works, but it's a terrible UX.
"Ugly and difficult to navigate" and "terrible UX" are a completely different thing than "scammy download sites that installs spyware".
Re: Tcl 9.0
#217Re: Tcl 9.0
#218I can't overstate my love for Tcl, yet I had only a little chance to use it when writing XiRCON IRC scripts back in the late 90's. Such an elegant language: simple, easy to learn, flexible. I call it Lisp for humans. I wish it were more popular. So glad to see that it's still alive and kicking.
Re: Tcl 9.0
#219Re: Tcl 9.0
#220Earlier quoted context omitted.
No, that was by Steve Bennett.
Sorry no, antirez (Salvatore Sanfilippo) was the original author, Steve Bennett took over maintenance later - https://jim.tcl.tk/index.html/doc/www/www/about/ .