Hopefully you are not going to do it like `println...
# kotlin-native
o
Hopefully you are not going to do it like
println("${when(…) {…}}")
😄
m
orangy: Looks ok, but I would use
"""${when ...}"""
.
c
This gives me an idea for a post on things you can do in Kotlin but should probably not do 😁
m
I have a good title for your article.
! fun(things: You, can: Do<in Kotlin>) {}
, and here is support code to make this title compile:
Copy code
class You
class Do<T>
class Kotlin
operator fun ((You, Do<Kotlin>) -> Unit).not() = this
metal 2
😆 1
c
You, sir, are brilliant.
o
let { <http://it.be|it.be>() }