[Python-ideas] Why is design-by-contracts not widely adopted?
Steven D'Aprano
steve at pearwood.info
Mon Oct 8 10:46:17 EDT 2018
On Tue, Oct 09, 2018 at 01:21:57AM +1100, Chris Angelico wrote:
> > > Yet we keep having use-cases shown to us involving one person with one
> > > module, and another person with another module, and the interaction
> > > between the two.
> >
> > Do we? I haven't noticed anything that matches that description,
> > although I admit I haven't read every single post in these threads
> > religiously.
>
> Try this:
Thanks for the example, that's from one of the posts I haven't read.
> If you're regularly changing your function contracts, such that you
> need to continually test in case something in the other package
> changed, then yes, that's exactly what I'm talking about.
Presumably you're opposed to continuous integration testing too.
> I'm tired of debating this.
Is that what you were doing? I had wondered.
http://www.montypython.net/scripts/argument.php
*wink*
--
Steve
More information about the Python-ideas
mailing list