robin
02/13/2017, 1:52 PMdefer
, panic
and recover
in Go, and decided to try and implement those three functions in Kotlin, just for shits and giggles. It works! If anyone is interested: https://gist.github.com/Hikaru755/c667e1e81e80ecd6fec46769c3f953b5 The example I used to validate it with comes from here: https://blog.golang.org/defer-panic-and-recover