[Python-Dev] PEP 3148 ready for pronouncement
Georg Brandl
g.brandl at gmx.net
Mon May 24 09:24:32 CEST 2010
Am 24.05.2010 01:51, schrieb Greg Ewing:
> Brian Quinlan wrote:
>
>> The good news in this case is that the same API has been used
>> successfully in Java and C++ for years so it is unlikely that any major
>> changes will need to be made.
>
> That doesn't follow. An API that's appropriate for Java or
> C++ is not necessarily appropriate for Python. Slavishly
> copying an API from another language is often not the best
> approach when designing an API for a Python module.
*cough* unittest *cough*
Georg
--
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.
More information about the Python-Dev
mailing list