[Python-ideas] Simplicity of C (was why is design-by-contracts not widely)

Alan Cristhian alan.cristh at gmail.com
Tue Oct 2 13:47:57 EDT 2018

Hi, I implement my own design-by-contract module. You can see it here:

I did this as an experiment, I have no real life experience with the design
by contract approach.

El mar., 2 oct. 2018 a las 2:28, Marko Ristin-Kaufmann (<
marko.ristin at gmail.com>) escribió:

> Hi Steven (D'Aprano),
> Right now, that choice is very restrictive, and I personally don't like
>> the look and feel of existing contract libraries. I would give my right
>> eye for Cobra-like syntax for contracts in Python:
>> http://cobra-language.com/trac/cobra/wiki/Contracts
> You might be interested in the discussion on transpiling contracts back
> and forth. See the other thread  "Transpile contracts" and the issue in
> github: https://github.com/Parquery/icontract/issues/48
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20181002/4ba6a778/attachment.html>

More information about the Python-ideas mailing list