Code Listings

All of these listings are also available in the book's GitHub repository

Please note that almost all of these listings currently assume running as a KTS scratch file which is not supported by the Kotlin browser plugin that enables these editable & runnable listings.
All listings will be adjusted soon to run as regular Kotlin files and thus work as expected here in the browser.

Switch chapter


Listing0901.kts


Listing0902.kts


Listing0903.kts


Listing0904.kts


Listing0905.kts


Listing0906.kts


Listing0907.kts


Listing0908.kts


Listing0909.kts


Listing0911.kts


Listing0912.kts


Listing0913.kts


Listing0914.kts


Listing0915.kts


Listing0916.kts


Listing0917.kts


Listing0918.kts


Listing0919.kts


Listing0920.kts


Listing0921.kts


Listing0922.kts


Listing0923.kts


Listing0924.kts


Listing0925.kts


Listing0926.kt


Listing0927.kt


Listing0928-0941.md