Join Slack
Powered by
Is class delegation (composition) considered a typ...
# announcements
a
Andrew Gazelka
07/20/2019, 9:06 PM
Is class delegation (composition) considered a type of Mixin? Kinda confused on semantics.
k
karelpeeters
07/20/2019, 9:47 PM
Looking at the wikipedia page for Mixin, I think delegation is indeed the Kotlin implementation of it.
s
streetsofboston
07/21/2019, 1:49 AM
I think so. Class delegation on interfaces seems very similar to Scala's traits and mixins...
2
Views
Open in Slack
Previous
Next