Re:Type hints – a mediocre programmer's reaction (2015)
by skybrian on Thursday March 17, 2016 @05:14PM
(#11307660)
Yes, it's going to be hard to retrofit Python libraries that use this style of parameter passing.
But if you're starting fresh, it's not that hard to use keyword parameters to support a lot of different options while also having reasonable types. (Take a look at how Dart libraries do it.)
But if you're starting fresh, it's not that hard to use keyword parameters to support a lot of different options while also having reasonable types. (Take a look at how Dart libraries do it.)