So I decided that, from now on, I'll declare funct...
# random
g
So I decided that, from now on, I'll declare functions this way:
Copy code
class sum private constructor(a: Int, b: Int) {
    private val res = a + b

    companion object {
        operator fun invoke(a: Int, b: Int) = sum(a, b).res
    }
}