News for hackers. Stuff that matters.
Re:Abstraction without overhead: traits in Rust by MichaelGG on Monday May 11, 2015 @05:08PM (#9527859)
Java's interfaces are getting default implementations now, aren't they?
Re:Abstraction without overhead: traits in Rust by jahewson on Monday May 11, 2015 @05:41PM (#9528040)
Yes, they are in Java 8, though you can't implement an interface for an existing class in Java, so it's not quite a trait.