Scala's Predef has a bunch of shorthand functions including one for unimplemented code, namely ???. Does Kotlin have anything similar rather than having to resort to the longhand
throw Error("Code not yet implemented")
Scala's Predef has a bunch of shorthand functions including one for unimplemented code, namely ???. Does Kotlin have anything similar rather than having to resort to the longhand
throw Error("Code not yet implemented")
Since Kotlin 1.0, you can use the
TODO
function from the Kotlin standard library, which takes an optional message.