Message353819
I don't think we're going to accomplish anything continuing the eternal static-vs-dynamic debate, which in Python's case has already been resolved by adding optional static typing. It's a done deal, and the issue here is just how to document it. Erlang (via the Erlang Dialyzer), Clojure, and Racket have all been down a similar road and gained some value from it.
Haskell's Maybe type (its version of Option) works fine. In Python the convention of returning None for a missing value is not great, but we are stuck with it and Option[whatever] is helpful. |
|
Date |
User |
Action |
Args |
2019-10-03 06:58:07 | phr | set | recipients:
+ phr, gvanrossum, rhettinger, docs@python, veky |
2019-10-03 06:58:07 | phr | set | messageid: <1570085887.1.0.54412728298.issue38333@roundup.psfhosted.org> |
2019-10-03 06:58:07 | phr | link | issue38333 messages |
2019-10-03 06:58:07 | phr | create | |
|