Re:PEP 3107 – Function Annotations in Python 3
by shoo on Monday May 12, 2014 @07:25AM
(#7732086)
i agree with your sentiment but not how you have literally worded it - there are plenty of serious use cases listed in the PEP, eg typechecking by itself is rather useful in other languages, but it is perhaps hard to imagine how useful this feature will be if no existing libraries support it, and there is no common standard defining what any of the annotations could mean.
on the other hand, this could be quite useful for large (proprietary?) python codebases where common standards can be defined and rolled out and enforced.
on the other hand, this could be quite useful for large (proprietary?) python codebases where common standards can be defined and rolled out and enforced.