https://kotlinlang.org logo
#announcements
Title
# announcements
a

Andrew Gazelka

07/04/2019, 10:34 PM
is it just me or would some code be sooooo much cleaner if there were extension interfaces
specifically, let’s say we have some interface which when implemented has a default implementation that should be FINAL…. the appropriate way (I think) to be this would be to make an extension function .. however, let’s say this is something like
compareTo
(which is part of Comparable) … now I can’t treat the overridden interface as comparable
s

streetsofboston

07/04/2019, 11:04 PM
Take a look at the proposal KEEP-87. I think you may like it. 😀
d

Dominaezzz

07/05/2019, 8:44 AM
It's not just you. 🙂
2 Views