3 ms·
In his defence, their interfaces do work somewhat differently to Java's, because they don't need to be explicitly implemented. I don't know if that matters enou
by twic 3y ago
In his defence, their interfaces do work somewhat differently to Java's, because they don't need to be explicitly implemented. I don't know if that matters enough to make them a novel invention, though.
- deleted 3y ago[deleted]
- za3faran 3y agoJava's interfaces are nominal. What you're describing is called structural interfaces, and they exist in other languages like Scala.
- shakow 3y ago> I don't know if that matters enough to make them a novel invention, though. That's called structural typing, which is at least as old as OCaml, i.e. 25+ y.o.
- moomin 3y agoYes, they work the same way as Modula-3's did in 1988. Still not exactly innovation.