Thomas Heller <[EMAIL PROTECTED]> writes: > "Adriaan Renting" <[EMAIL PROTECTED]> writes: > >> I'm not a very experienced Python programmer yet, so I might be >> mistaken, but there are a few things that would make me prefer C++ over >> Python for large (over 500.000 LOC) projects. >> - namespaces >> - templates >> - strong type checking >> - data hiding >> - more available libraries and more advanced developement tools. >> >> I'm talking about managing the code, not the programmers, the project or >> schedules or what have you. Those are independent from the chosen >> programming language. > > Just a single datapoint: Implementing a trivial COM object in Python > requires, let's guess, about 10 or 20 lines of source code. > > When I do the same in MSVC6, the wizard creates 10 files, with nearly > 400 lines of code. Sure, I didn't have to write these code lines, but > I'm required to understand and manage them as well.
Sorry, I forgot to include the .dsw and .dsp files in the above figure. Including them brings the LOC count up to 750 for the C++ project - although, to be fair, on the Python side a setup.py script for py2exe would also have to be written. In simple cases, this is another 10 lines. Thomas -- http://mail.python.org/mailman/listinfo/python-list