Learning Kotlin: ‘Const’ Modifier

https://www.youtube.com/watch?v=wqoer79Ntj0 Kotlin's 'const' modifier allows you to mark a variable as a true, JVM compile-time constant. To do this, the variable must meet several requirements. 1. Must be a top-level variable or a variable on an Object2. Must be a String or primitive type3. No custom getter 0:30 Example case study1:18 Examine bytecode1:26 Understand what … Continue reading Learning Kotlin: ‘Const’ Modifier

Learning Kotlin: View Kotlin Bytecode

https://www.youtube.com/watch?v=Qw2fe6A_AiA You can easily view the bytecode for the Kotlin you write, and then decompile that bytecode into more readable Java code. This is useful for understanding what the Kotlin compiler is doing behind the scenes. Thoughts, questions, tips on examining Kotlin bytecode and the decompiled Java equivalent? Comment below or share on social media. … Continue reading Learning Kotlin: View Kotlin Bytecode

Learning Kotlin: nullability

https://www.youtube.com/watch?v=UVlagl4U8Zs Wondering how to handle null in Kotlin? Kotlin strictly differentiates between null and non-null types. This is great because it forces developers to consider when & where to use null. In this video, you'll learn the basics of defining null variables, defining null parameters, and checking for null values. 0:08 How Kotlin handles null0:30 … Continue reading Learning Kotlin: nullability

Learning Kotlin: String Interpolation

Kotlin provides a lot of useful functionality for working with String data types. In this video, you'll learn about string interpolation and how it makes working with strings much more convenient. https://www.youtube.com/watch?v=EWi3TGHHJaA Kotlin Documentation 1:14 Single substitution1:41 Basic formatting1:57 Multiple Substitutions2:29 Complex Substitutions I love to meet/talk/discuss and help where I can. If you want … Continue reading Learning Kotlin: String Interpolation