it is quite amazing how Kotlin solves things. in G...
# javafx
h
it is quite amazing how Kotlin solves things. in Groovy one had to use meta-programming (i.e. AST transformations) to archive this. and it even uses type inference here. Groovy also has something like delegates, however I don't know why they didn't use them.