Does Python really follow its philosophy of "Readability counts"?

Antoon Pardon apardon at forel.vub.ac.be
Fri Jan 23 06:31:50 EST 2009


On 2009-01-16, Luis Zarrabeitia <kyrie at uh.cu> wrote:
>
> Quoting "Russ P." <Russ.Paielli at gmail.com>:
>
>> On Jan 15, 12:21 pm, Bruno Desthuilliers
>> <bdesth.quelquech... at free.quelquepart.fr> wrote:
>> 
>> > Once again, the important point is that there's a *clear* distinction
>> > between interface and implementation, and that you *shouldn't* mess with
>> > implementation.
>> 
>> If you "*shouldn't* mess with the implementation", then what is wrong
>> with enforcing that "shouldn't" in the language itself?
>
> Because, as a library user, it should be my power to chose when and how I
> _should_ mess with the implementation, not the compiler, and definitely not you.

Why should it be in your power? By messing with the implementation of a library
you risk the correctness of the code of all participant coders in that project.
I not that sure it should be your power to chose when and how to do that.

-- 
Antoon Pardon



More information about the Python-list mailing list