Let me share with you 3 interesting articles from #kotlin from May 2021.
I follow here the example from @sandordargo for #c++, and like him, it's not a popularity contest, I add subjectivity to the list yet try not to include multiple articles from the same author.
This month, it's all about Jetpack Compose!
@zachklipp does a deep dive inside Compose reactive state model. He takes an historical look at how we used to write code with callbacks, what RxJava brought to the table and what questions were left open. He then shows how Jetpack Compose allows us to write fully reactive apps with less boilerplate and hopefully less cognitive overhead than weβve been able to do in the past. Simple, clear code that is easy to read and understand will (usually) just work as intended. In particular, Compose makes mutable state not be scary anymore.
A historical introduction to the Compose reactive state model
Zach Klippenstein γ» May 24 '21
@tkuenneth has started a cartography of Jetpack Compose. It's not a tutorial on how to use it, but an exploratory approach of what Jetpack Compose is made of. What belongs to the runtime? What is in the compiler? What is inside the foundation?
Cartographing Jetpack Compose: compiler and runtime
Thomas KΓΌnneth γ» May 9 '21
So much for the theory, here goes some coding. Sebastian Aigner from @kotlin tells us how he built a small clone of the classic arcade game Asteroids with Jetpack Compose for Desktop, a port from JetBrains to MacOS/Windows/Linux. Impressively the code is only 300 lines of code and was written in one night!
How I built an "Asteroids" game using Jetpack Compose for Desktop
Sebastian Aigner for Kotlin γ» May 6 '21
Happy coding, feel free to share your favorite one in the comments.
Top comments (1)
I didn't want to auto-promote myself, but I'm proud of my own article this month :)
From Java to Kotlin in 20 minutes β‘οΈ
Jean-Michel Fayard π«π·π©πͺπ¬π§πͺπΈπ¨π΄ γ» May 14 γ» 9 min read