dims
03/30/2018, 9:26 PMgildor
04/01/2018, 7:12 AM"XML encoding with Kotlin"()
actually for simple case with title easier just to write simple version of title function to use it without lambda:
title("XML encoding with Kotlin")
This works only for simple cases, but also for most common ones. For cases where I have complicated dsl with mix of different operators I would prefer more explicit approach (for example text("Some text")
instead of +"Some Text"