Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
alexchantavy
on June 25, 2022
|
parent
|
context
|
favorite
| on:
The Composition over Inheritance Principle (2020)
The examples seem to rely on duck typing which is pretty cool, but can this work well with parameter type hints or will I just need to end up `Union`ing all input param types, or will I need to get rid of type hints?
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: