Why learn Python ??
John J. Lee
jjl at pobox.com
Tue Jan 13 13:02:35 EST 2004
"Derek" <none at none.com> writes:
[...]
> 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.
John
More information about the Python-list
mailing list