Y
Hacker News
new
|
ask
|
show
|
jobs
by
zelphirkalt
1055 days ago
I like Rust's struct + traits approach, because they avoid inheritance and encourage composition. I am sure people have built bad workarounds though to do inheritance anyway.