[Python-ideas] Why is design-by-contracts not widely

Steven D'Aprano steve at pearwood.info
Fri Sep 28 12:45:06 EDT 2018


On Tue, Sep 25, 2018 at 09:59:53PM +1000, Hugh Fisher wrote:

> C and Python (currently) are known as simple languages.

o_O

That's a usage of "simple" I haven't come across before. Especially in 
the case of C, which is a minefield of *intentionally* underspecified 
behaviour which makes it near to impossible for the developer to tell 
what a piece of syntactically legal C code will actually do in practice.


-- 
Steve


More information about the Python-ideas mailing list