This is an example of a poor packages structure (so-caled "package by type" approach).
⚠️Doesn't tell anything about app's business domain
⚠️ Doesn't provide info about app's features
⚠️ Makes it difficult to make changes even if you know what you want to do
Don't do this.
#KotlinTips
The extension function ‘apply()’ is one of the five scope functions provided by Kotlin’s standard library. It is very handy for object initialization.
Learn more about this and the other scope functions here: https://t.co/BseJ2DkgH5
🎂
Happy Birthday, Kotlin!
10 years ago today Kotlin was announced publicly for the first time.
In the coming weeks, we’ll unveil a documentary about the language and a web page with exciting Kotlin stories.
Share your story with the hashtag #10yearsofKotlin!
Most of new JDK features I discover and use, not because I plan to, but because @intellijidea tells me to (like Switch Expressions here).
Thanks for making our jobs so much easier 😎 #effectivedeveloper
The last one I picked for the video is on safety. As @mikemybytes points out, there are situations where streams should be used as a resource in a try block: https://t.co/a6xQ52RGqE
More in his blog post: https://t.co/tlM7sWgv3q