To make it a little harder for myself I set some rules.
- Only pure functions, so no side effects!
- Every function must be declared as an expression (except for main because who cares)
fun notLikeThis(a: Int, b: Int): Int {
val c = a + b
return c
}
fun butLikeThis(a: Int, b: Int) = a + b