Python for large projects?
jhauser at ifm.uni-kiel.de
Sun Jun 27 09:28:08 CEST 1999
"Darrell" <news at dorb.com> writes:
> Good or bad, this is one C++ guys aren't comfortable with. The project I'm
> on now will allow people with minimal programming experience to write a
> little python to control the larger application. One of my primary concerns
> is performance and an optimization relies on them not changing a large
> buffer, only look at it. So the people I don't trust aren't on my team. What
> was it Murphy said ? "If it can go wrong"
> I'm tempted to do this object in C++.
> Agreed using __ to hide a name doesn't seem worth while.
If it is only one object, one can try to wrap it in a class and
overwrite setattr, setitem etc.
This would inhibit that one changes the buffer data accidently. And
put the data into an immutable sequence type (string, tuple).
Institut fuer Meereskunde phone: 49-431-597 3989
Dept. Theoretical Oceanography fax : 49-431-565876
Duesternbrooker Weg 20 email: jhauser at ifm.uni-kiel.de
24105 Kiel, Germany
More information about the Python-list