i have to admit the whole "if the last param is a ...
# tornadofx
s
i have to admit the whole "if the last param is a lambda you can optionally write myFun() { //stuff }" concept made no damn sense to me when learning about it for the first time, why have 2 ways to write something that was already fairly clear? .... but then i got into tfx and the type safe builders/dsl stuff and then i understood 🙂