Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Traits do implement interface inheritance, but that doesn't have the same general drawbacks as implementation inheritance (such as the well-known "fragile base class" problem).


I don't know the terminology. I just know that Rust does whatever the alternative is to the Java way with inheritance. You don't get stuck with the classic classification problem.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: