News for hackers. Stuff that matters.
Re:Show HN: I Wrote a Book on Java by maleldil on Wednesday September 25, 2024 @04:00AM (#41644915)
Yes, it is. Typed Python supports duck typing to some extent; see typing.Protocol and stuff like Sequence, Iterable, Mapping, etc.
Re:Show HN: I Wrote a Book on Java by cbsmith on Wednesday September 25, 2024 @12:53PM (#41649378)
I'd argue non-typed Python supports duck typing pretty well too, so you don't necessarily need Typed Python to support it.