A Tcl/Tk programmer learns Python--any advice?

Robert Hicks sigzero at gmail.com
Wed Nov 9 11:00:39 EST 2005


Svenn Are Bjerkem wrote:
> In article <1131502967.138632.94840 at g47g2000cwa.googlegroups.com>,
> sigzero at gmail.com says...
> > Ah, another one leaves the fold...  : \
>
> I think I saw somebody say about OO in Python: "It's there, but you
> don't have to use it." Every time somebody wants OO in the core of tcl,
> he is asked: "Why do you want it?"
>
> If OO was as easy in Tcl as in Python, there would be no real reason to
> switch in my opinion. (And maybe simpler namespaces and passing of lists
> to functions, we all love the uplevel and upvar commands, don't we?)
> --
> Svenn

That is a misconception. There are several really good packages for OO
in Tcl. XOTcl, [incr] Tcl, and my favorite Snit.

On top of that there is currently being added OO to the core of Tcl as
well. That should all be integrated in when 8.5 comes out in the
spring.

Tk is getting a native L&F uplift as well.

However, I think it is more perception than function now.

Robert




More information about the Python-list mailing list