If can go back in time, this is what I will tell to my younger (dev) self
How to download youtube videos
You can pass variable number of arguments in a Kotlin function. See how it's done
learn how to deal with type erasures during runtime. Kotlin has ways to make the runtime remember the type parameters for generics
Kotlin doesn't have a switch statement, like the one in Java. But, it has the when construct. You can use it either as a statement or expression. It's got superpowers
Like Java, Kotlin uses the same try-catch construct. But unlike Java, Kotlin treat all exceptions as unchecked. Hence, try-catch is optional
Kotlin's if-then construct is almost the same as Java's, but in Kotlin, if-then is an expression, not a statement
Kotlin functions are much richer than Java's. You have the flexibility to define default values for parameters and even name the parameters at the call site. This why you don't need to do much overloading in Kotlin
Learn how to use the in and out keyword in Kotlin Generics. Read along if you’re curious about invariant, covariant and contravariant in Kotlin Generics
The most visible part of Android, at least for developers, is its operating system (OS). An OS is a...
The following code used to trigger ANR (Android Not Responding) error Listing 1. time consuming...
An extension function in Kotlin allows to add behavior to an existing class, including the ones written in Java, without using inheritance. It essentially lets us define a function that can be invoked as a member of the class, but the function is implemented outside the class
digested notes from "die empty" by Todd Henry