https://kotlinlang.org logo
#announcements
Title
# announcements
c

christopher

06/25/2016, 5:24 PM
I was actually thinking it could be used as a sort of short hand for implementing an abstract method:
Copy code
interface Bar {
    fun baz()
}

class Foo : Bar {
    baz {
        
    }

    // equivalent to...
    final override fun baz() {
        
    }
}