News for hackers. Stuff that matters.
Re:Rust 0.9 released by seanmcdirmid on Thursday January 09, 2014 @10:47PM (#7034988)
Not very true.

Some languages prefer inheritance to express is-a relationships and composition to express has-a relationships. Some languages try to shoe horn is-a into being equivalent to has-a, but they usually have trouble expressing non-structural subtyping.

Re:Rust 0.9 released by moomin on Friday January 10, 2014 @03:40AM (#7035725)
I find that when refactoring code, I often redefine is-a to has-a anyway.
Re:Rust 0.9 released by LBarret on Saturday January 11, 2014 @06:35PM (#7044304)
is-a vehicle --> has 4 wheels
Re:Rust 0.9 released by scardine on Saturday January 11, 2014 @09:41PM (#7044914)
Runtime error: Motorcycle lacks 4 wheels