Why learn Python ??
Jp Calderone
exarkun at intarweb.us
Tue Jan 13 16:44:46 EST 2004
On Tue, Jan 13, 2004 at 02:28:38PM -0500, Derek wrote:
> "John J. Lee" wrote:
> > [...]
> > > Point taken. I once worked on a project where we
> > > implemented a production system in C++ and then
> > > implemented it again in Python for QA purposes. It took
> > > about 150k lines of C++ code and 10k lines of Python.
> > > Python took less code because so many modules are bundled
> > > with the language, but the C++ system ran many times
> > > faster. It's all about picking the right tool for the
> > > job.
> >
> > Well, that's a banal truism obscuring the fact that, for the
> > great majority of projects, optimisation does not require
> > implementation of the *entire* system in a language like
> > C++. The sum of C++ and Python is greater than the parts.
>
> Python and C++ can also be a bigger mess than sum of either part.
> Take your pick.
>
Look at how many modules in the stdlib are not implemented in Python.
Look at all the builtin types. It *can* and *does* work, and with very
little mess, if you know what you're doing.
Jp
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list