News for hackers. Stuff that matters.
Re:Announcing Rust 1.20 by zaphar on Thursday August 31, 2017 @02:38PM (#15142689)
Is-A does not and should not imply Inheritance. It merely implies polymorphism. I didn't get formally trained so I can't comment on what college/high school's teach but if they teach that Is-A relationships imply Inheritance then claiming Rust is OOP seems like a good way to educate the mis-educated regarding the difference.
Re:Announcing Rust 1.20 by leshow on Thursday August 31, 2017 @05:42PM (#15144211)
What kind of polymorphism? Traditional OOP is subtype polymorphism. You can't really do that in Rust. It's main polymorphism is parametric and ad-hoc polymorphism a la Haskell. If that's considered OOP then OOP is so broad it's not a useful term
Re:Announcing Rust 1.20 by pjmlp on Friday September 01, 2017 @02:27AM (#15146568)
What is traditional OOP?

The Simula, Smalltalk, Lisp, SELF or BETA model?

Yes, OOP is broad, just like FP also is.

Re:Announcing Rust 1.20 by kibwen on Thursday August 31, 2017 @04:10PM (#15143484)
I don't think that "is-a" is formally defined anywhere. In my school experience, using Java specifically, "is-a" was used to teach the `extends` keyword, while "has-a" was used to teach the `implements` keyword.