~/talk

Beyond Exceptions: Building Resilient Android Apps with Safety-Critical Principles

Talkat AndroidMakers by droidcon 2026 · on Thursday, 2026-04-09· at 16:20· [testing]
slides:none on file

Argues for a custom Result monad (sealed-error type + Result<T, E>) that gives compile-time exhaustiveness versus Kotlin Result and runCatching which can swallow CancellationException, shows an offline‑first POS running days offline across three Android apps and moves backend logic to clients, applies NASA’s Power of 10 rule recommending two assertions per function and uses require/check to fail fast in debug while converting to nonfatal reporting in release, and debugs native crashes from tombstone files surfaced in Crashlytics on Android 12+.

AI-written summary · about

  1. 0:00Introduction
  2. 3:09Exceptions in Java/Kotlin
  3. 8:46Android error classification
  4. 13:01Problems with exceptions
  5. 18:16Kotlin Result limitations
  6. 21:27Sealed hierarchies for errors
  7. 28:48Assertions for logic failures
  8. 35:38Summary
  9. 36:44Debugging native crashes
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.