News for hackers. Stuff that matters.
Re:A Failed Experiment with Python Type Annotations by cjwoodall on Wednesday June 12, 2019 @10:10AM (#20164794)
It seems to me that type inference would be silly in this case. Type suggestion during mypy checks might be useful though.

Function x does not specify a type, but returns SomeHelpfulTypeString. We recommend you use that.

Put it behind a flag and call it a day. Maybe even have a way of requesting type suggestions for functions during development

There are no comments on this comment yet.