Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cbsmith
on Sept 24, 2024
|
parent
|
context
|
favorite
| on:
Show HN: I Wrote a Book on Java
That seems a lot like duck typing to me.
maleldil
on Sept 25, 2024
[–]
Yes, it is. Typed Python supports duck typing to some extent; see typing.Protocol and stuff like Sequence, Iterable, Mapping, etc.
cbsmith
on Sept 25, 2024
|
parent
[–]
I'd argue non-typed Python supports duck typing pretty well too, so you don't necessarily need Typed Python to support it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: