I have looked at the template method pattern, but to me this just sounds like what you really want is composition. open class Importer { fun import() { // do common logic... val parsed = parse() // call specialized…
I have looked at the template method pattern, but to me this just sounds like what you really want is composition. open class Importer { fun import() { // do common logic... val parsed = parse() // call specialized…