Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
galbar
9 months ago
|
parent
|
context
|
favorite
| on:
Inheritance was invented as a performance hack (20...
Python has Protocols. They work like Go interfaces
kragen
9 months ago
[–]
Sure, but for the most part people don't use them, because you don't have to; Python method calls are always potentially polymorphic, unlike Golang method calls.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: