Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kaoD
on March 17, 2018
|
parent
|
context
|
favorite
| on:
Inheritance Often Doesn't Make Sense
I think traits (as I know them) are still nominal subtyping. E.g.: a Rust struct implementing a next() method does not implement the Iterator trait even if they are structurally equivalent. You have to explicitly implement the trait.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: