Python is DOOMED! Again!

Mario Figueiredo marfig at gmail.com
Thu Jan 22 23:54:33 CET 2015


In article <mailman.18004.1421966906.18130.python-list at python.org>, 
ian.g.kelly at gmail.com says...
> 
> On Thu, Jan 22, 2015 at 3:27 PM, Chris Kaynor <ckaynor at zindagigames.com> wrote:
> > Or use Any, which is basically the same thing:
> >
> > def adder(a: Any, b: Any) -> Any:
> >     return a + b
> 
> Yeah, but this just seems like extra noise since it's not going to
> help the type checker at all.


I agree. It's after all a fully polymorphic function. There is no reason 
to pass it through a static analyzer.



More information about the Python-list mailing list