No subject

Tom Anderson twic at urchin.earth.li
Fri Jul 1 08:50:41 EDT 2005


On Fri, 1 Jul 2005, Adriaan Renting wrote:

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

Hmm. I don't know C++, but here goes ...

> - namespaces

Aren't namespaces basically the same as packages/modules in python?

> - templates

These would be meaningless in python - they're part of typefulness, which ...

> - strong type checking

... python eschews.

Not that this is necessarily a good thing. I have to say that my Java 
roots do lead me to think that strong typing is a plus for big projects, 
since it's a way of defining and enforcing interfaces between bits of code 
written by different people (or by one person at different times!). 
Optional static typing in python would be nice for this.

> - data hiding

Surely you can hide data in python?

> - more available libraries and more advanced developement tools.

True. The more advanced development tools are offset to a large degree by 
the advanced crappiness of C++ as a language, though; i'd be surprised if 
a C++ programmer borged up with all the latest tools was actually more 
productive than a python programmer with a syntax-colouring, 
auto-indenting text editor. It'd be very interesting to get some real 
numbers on that.

>> Ultimately, manageability of a project is far and away more about the
>> people involved and the techniques used than it is about any single
>> technology involved.
>
> Agreed.

+1 getting to the crux of it.

tom

-- 
In-jokes for out-casts



More information about the Python-list mailing list