I'm new to Kotlin, but I have a strong Java background (Java is my day job). I'm loving some of the shortcut functions in Kotlin. One of the big ones is File.appendText(). It's very convenient, in my opinion.
My question is about closing resources. If I was to use a writer, I would do something like this:
out8.writer().use { ... }
But I don't see any thing directly on the appendText method that indicates closing resources. Does Kotlin handle this behind the scenes for me, or is this something I have to worry about in another way?