Russ P. a écrit :
On Feb 3, 4:14 pm, "Rhodri James" <rho...@wildebst.demon.co.uk> wrote:
On Tue, 03 Feb 2009 05:37:57 -0000, Russ P. <russ.paie...@gmail.com> wrote:
(snip)
If a library developer releases the source code of a library, any user
can trivially "defeat" the access restrictions. But if a team of
developers is checking in code for a project, the leader(s) of the
project can insist that the access restrictions be respected to
simplify the management of interfaces. The larger the team, the more
useful that can be. That's why Java, C++, Ada, Scala, and other
languages have a "private" keyword.
Indeed he can.  He can even do that in Python; it just requires a little
self-discipline from the team, or a validation script on the code
repository if he really doesn't trust them.  Not only can this be done
without forcing the rest of the world to play, it makes things a little
less daunting when those nice clean interfaces turn out to be
incomplete/too slow/not what you thought.

This has already been refuted several times on this thread alone,

s/refuted/debated/
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to