Why learn Python ??

Derek none at none.com
Tue Jan 13 14:28:38 EST 2004


"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.





More information about the Python-list mailing list