You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python has added support for type-hints in version 3.5; which has now reached end-of-life.
In my opinion, type-hints make it easier to read the code and also enable a number of static checks.
What do you think?
If we want to go fancy, there are a number of different formats / libraries that support the definition of contracts (mostly pre-post conditions and invariants e.g. PEP 316, deal).
The text was updated successfully, but these errors were encountered:
I fully agree that adding type hints would be great! The only reason we do not have them (yet) is that we started pysmt with python 2.7 and we never had time to introduce them afterwards...
Python has added support for type-hints in version 3.5; which has now reached end-of-life.
In my opinion, type-hints make it easier to read the code and also enable a number of static checks.
What do you think?
If we want to go fancy, there are a number of different formats / libraries that support the definition of contracts (mostly pre-post conditions and invariants e.g. PEP 316, deal).
The text was updated successfully, but these errors were encountered: