News for hackers. Stuff that matters.
Re:Type hints – a mediocre programmer's reaction (2015) by zaro on Friday March 18, 2016 @03:32AM (#11310405)
If you go that route, anything can be abstract type.

I tend to see it like: type is what this object actually is, and protocol is how we interact with it.

Re:Type hints – a mediocre programmer's reaction (2015) by solidsnack9000 on Friday March 18, 2016 @02:44PM (#11313914)
I see where you are going. But I'm sure we can agree that both concrete types and protocols would be handled by a "type checker".

If ever there were a language where you'd want to be looking at protocols and not concrete types most of the time, it would be Python.