Is there an way to replace the Java Decorator patt...
# getting-started
s
Is there an way to replace the Java Decorator pattern with Kotlin extension functions? I know that a class can be enhanced by extension functions, but is there a way to chain them like you can do with the Decorator pattern?