Try-Catch vs. runCatching()

Описание к видео Try-Catch vs. runCatching()

I recently put out a poll asking whether Kotlin developers prefer using try-catch expressions or the runCatching() function, and the results were fascinating. In this video, I'll cover those two options, the results of the polls, and my assessment of the trade-offs involved when choosing between them.

✨ New to Kotlin? Start here: https://typealias.com/start/
... or pick up the new Leanpub Edition! https://book.typealias.com/

🚀 I just launched a new email newsletter!
Sign up here: https://newsletter.typealias.com/

00:00 The Exception-Handling Poll
00:22 Try-Catch Expressions
01:48 runCatching() and Result
03:00 Results of the Poll
03:18 Other Options
04:22 Trade-offs

#kotlin #androiddevelopment

Комментарии

Информация по комментариям в разработке