Join Slack
Powered by
<@U0BDMQTHS>: I would insert a `use` in your snipp...
# announcements
c
cedric
03/09/2016, 5:00 PM
@mikehearn
: I would insert a
use
in your snippet above:
File(“x”).bufferedReader().use { it.forEachLine() {} }
. Not 100% sure the consequences of not closing, though, maybe it’s fine.
Open in Slack
Previous
Next