<Replace Interface with Type> I’ve been years in j...
# forum
r
Replace Interface with Type I’ve been years in java and kotlin, i don’t really enjoy using “interface” since the usage is often ambiguous. In common scenario i do use “interface” as a contract for open interface. But in general, i do need to define “type” , “pattern/structure”, “interface”. And the longer i code, the more i need “type” or “pattern” instead of “interface”. It (interface) does works for declaring type and pattern, but it ambiguous. I highly suggest to use “type” since type can contain interface contract,...