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

Paul Moore p.f.moore at gmail.com
Wed Sep 26 08:58:47 EDT 2018


On Wed, 26 Sep 2018 at 13:43, Marko Ristin-Kaufmann
<marko.ristin at gmail.com> wrote:
>
> P.S. My offer still stands: I would be very glad to annotate with contracts a set of functions you deem representative (e.g., from a standard library or from some widely used library). Then we can discuss how these contracts. It would be an inaccurate estimate of the benefits of DbC in Python, but it's at least better than no estimate. We can have as little as 10 functions for the start. Hopefully a couple of other people would join, so then we can even see what the variance of contracts would look like.

Our mails crossed in the ether, sorry.

Pathlib.

Paul


More information about the Python-ideas mailing list