The next 20 years of Python
The next 20 years of Python
Posted Jul 11, 2013 12:26 UTC (Thu) by mpr22 (subscriber, #60784)In reply to: The next 20 years of Python by smitty_one_each
Parent article: The next 20 years of Python
Static typing isn't just about detecting passing an int to something that expects a float (or vice versa), it's about detecting passing a Penguin to something that expects a Duck. I concede that it may be the case that the decorator you linked to supports the latter check and just has laughably simplistic examples.
