News for hackers. Stuff that matters.
Re:Static types in Python by dllthomas on Friday October 14, 2016 @05:52AM (#12707049)
> In reality, the function is actually much more powerful than that, and if included in a library, many people could use it for many more things than just that.

I think all this says is that design and documentation considerations for functions in distributed libraries may be different than those for functions used locally. Something I certainly agree with, but not really a criticism of the parent point.

Re:Static types in Python by clusmore on Friday October 14, 2016 @06:44AM (#12707213)
Fair point. I realise I sound quite critical in my comments so perhaps I should add that I like the tool itself. The problems that I see are more in the usage as shown in the examples. I am not necessarily suggesting that in all circumstances, the most general types are the best. But I am yet to see this tool used in such a way as to permit the most general types, as would be appropriate for library functions.