how would you rewrite that in kotlin?
# codereview
e
how would you rewrite that in kotlin?