u/a_kiralyin r/Kotlin • Recommends
On “What are your concerns and pet peeves about Kotlin so far?”
That this doesn't compile and there is no plan to fix it:
fun foo(a: Boolean, b: Boolean) = println("$a, $b")
val a = 1
val b = 2
val c = 3
val d = 4
fun main() {
foo(c < a, b > d)
}
(Credit to this video: link to this video )
Ternary operator would be nice.
Recently found out that kotlin Duration is backed by floating point numbers with all the quirks that come with them. (Credit to the Kotlin Slack)