HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by cbsmith | Hacker News Reader
Parent
Full thread
cbsmith
·
That seems a lot like duck typing to me.
View on HN
maleldil
·
Yes, it is. Typed Python supports duck typing to some extent; see typing.Protocol and stuff like Sequence, Iterable, Mapping, etc.
cbsmith
·
I'd argue non-typed Python supports duck typing pretty well too, so you don't necessarily need Typed Python to support it.
Reply on news.ycombinator.com