Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
BerislavLopac
on Aug 2, 2022
|
parent
|
context
|
favorite
| on:
Crimes with Python's pattern matching
Python also has structural typing, often called duck typing - if you have a runtime-checkable protocol, an object will also match isinstance even when there is no inheritance.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: