re: Gang of Four Patterns in Kotlin VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Hey Mario, first of all: thanks for your kind words!
It's definitely true that function composition would be the better solution here. I used extensions because it's "pure" Kotlin. I didn't want to copy your examples and solutions, either. Thought that would be boring :-)

code of conduct - report abuse