Notes.kt

Notes
Shorter than a lesson. Each note is one decision the sample code already made.
NullNote.kt · March 4, 2026Null is a value you can seeThe question mark is the lesson. Hiding null inside an empty string just moves the bug.MainNote.kt · March 18, 2026The main thread is a promiseCompose and views touch the UI on one thread. A disk read does not belong there.ScreenNote.kt · April 2, 2026One screen is not an architectureA single activity can still have a direction: events in, state out.DispatchNote.kt · April 16, 2026A coroutine is not a thread you namesuspend means the function may wait. The dispatcher decides which thread does the waiting.JavaNote.kt · May 6, 2026Java null stops at the bridgePlatform types are the honest name for a Java value with no null annotation.PlaceNote.kt · May 20, 2026Danville, 2018The profile places the desk in Danville, California, and dates it to 2018.