Ich habe heute Nacht geträumt, meine Kollegen hätten ein Problem mit einem meiner Tcl/Tk-Scripte. 😳
Ich frage mich, was mich zu diesem Zeitsprung bewegt hat.
Ich habe heute Nacht geträumt, meine Kollegen hätten ein Problem mit einem meiner Tcl/Tk-Scripte. 😳
Ich frage mich, was mich zu diesem Zeitsprung bewegt hat.
Tcl/Tk 8.6.18 Release Announcement
The Tcl Core Team is pleased to announce the 8.6.18 releases of the Tcl dynamic language and the Tk toolkit. We intend these to be the final releases of Tcl 8.6 and Tk 8.6. Both Tcl and Tk have successor major release sequences in active supported development. As of this release date, users of Tcl and Tk are encouraged to move to Tcl 9.0.3 and Tk 9.0.3.
More details at https://newsgrouper.org/%3C10tvh03$221[email protected]%3E
#tcltk #programming
@jacket Tcl is something of an acquired taste. Perhaps you need to have a twisted brain to really appreciate it (as I do)! 🤪
That's quite a good introductory video though. My one criticism would be that it may give the impression that all commands operate directly on strings, which would be very inefficient. This was the case in the very earliest versions of Tcl, but now strings are converted to/from more efficient representations behind the scenes as required. #tcltk 🪶
@patricus Depending on your definition of "sane", you might find Tcl/Tk fits the bill. See https://www.tcl-lang.org and https://wiki.tcl-lang.org/welcome . Indentation is optional, you can write:
if {$a > 0} {puts OK} else {puts "TOO LOW"; set a 1}
or:
if {$a > 0} {
puts OK
} else {
puts "TOO LOW"
set a 1
}
or:
if {$a > 0} \
{puts OK} \
else \
{puts "TOO LOW"
set a 1}
or even:
eval [lreverse {{puts "TOO LOW"; set a 1} else {puts OK} {$a > 0} if}]
🤪