RE: https://mastodon.social/@h4ckernews/115665782709337151
As usual, Python catching up with something Tcl has had for at least a decade with the ‘tailcall’ command. 😜
#programming #tcltk #python
RE: https://mastodon.social/@h4ckernews/115665782709337151
As usual, Python catching up with something Tcl has had for at least a decade with the ‘tailcall’ command. 😜
#programming #tcltk #python
@CGM I see good in this: new and useful powers for #Python.
I see bad in this: a thing we knew about for a long time, present elsewhere, why so long coming?
I see neutral in this: things that can be provided by libraries instead of directly in the language should absolutely start in a library. If they earn a spot in the language itself, great.
I see sad in this: these words make it sound like #TCL is ahead and Python is behind overall. That doesn’t match my opinion or personal experience. Absolutely agree on this particular feature. And also I have stated many times "there is no best language", just choices more or less cost-effective for the problem at hand.
For the problems I’ve faced, with the tools I’ve had available, Python has been a more cost-effective choice than TCL the majority of the time. From your words, I took that you prefer TCL. Nothing wrong with that!
@YesJustWolf Sorry, my post was a bit snarky, and I am somewhat biased.
Obviously Python is way ahead of Tcl in popularity. So I find it galling to every so often read about some great new Python feature which turns out to be something Tcl had decades earlier. Other examples are:
- Unicode support properly integrated into the language rather than an awkward add-on.
- Using multiple interpreters to get multithreading that's not hobbled by a Global Interpreter Lock.
Your mileage may vary 😎
@YesJustWolf Well these days there is just so much stuff that no-one can keep up with it all. When I started programming things were simpler. Within a few years I had tried out Algol, Fortran, Snobol, Lisp, Prolog, Basic. Now there are also strong "network effects" that push you towards sticking with tools that are well-known/widely-supported/sought-after-for-employment, etc.
I wrote something a while back about why I particularly like Tcl: https://colin-macleod.blogspot.com/2020/10/why-im-tcl-ish.html .