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

Marko Ristin-Kaufmann marko.ristin at gmail.com
Tue Oct 2 01:25:46 EDT 2018

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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20181002/62b2a485/attachment-0001.html>

More information about the Python-ideas mailing list