3 ms·
That's cheating a bit, since it's comparing the other three languages via their binding to Tk, and bindings always introduce impedance mismatch. Tk was built an
by jerf 12y ago
That's cheating a bit, since it's comparing the other three languages via their binding to Tk, and bindings always introduce impedance mismatch. Tk was built and designed to bind to Tcl.
For instance, in one example I happened to look at, the article discusses how to create a text widget that binds to a string. Since Python strings are immutable, in Python you have to create an extra StringVariable and pass that in, whereas in Tcl it's just a single line that binds a variable. But the fact that Python is a bit klunkier on this specific task hardly says anything about the relative strengths of either language in general.