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

Roy Smith roy at panix.com
Fri Nov 11 08:41:47 EST 2005


"Robert Hicks" <sigzero at gmail.com> wrote:
> Why does there need to be OO "in the core"? That is one thing I have
> never understood. If you want OO, get a package that fits your style of
> OO and "package require" you are off and running. That probably isn't
> what you would be looking at Tcl for anyway.

The problem there is that you end up with N different implementations.  
They each have roughly similar capabilities, but are different enough in 
the details that somebody who knows one will have trouble maintaining code 
using another.  Each one probably has some features which make it better 
than the others in some ways, and some ugly warts too.  None is superior 
enough in all respects to become dominant.

It's just like C++ went through with strings and containers before STL came 
along.  Everybody rolled their own, or bought one of the several 
commercially available libraries.  That meant you could be an expert at C++ 
and still have a steep learning curve when coming into a new project.



More information about the Python-list mailing list