Posts

Showing posts from January, 2022

Kotlin & Coroutines

Image
Kotlin is a statically typed, open-source programming language that runs on the JVM and can be used anywhere Java is used today. It can be compiled using Java source code The most popular features of kotlin are: Kotlin is Concise:  reduces the writing of the extra codes Compact code:  Kotlin is an OOPs-based programming language. Less number of code compared to java. Kotlin is Simple:  Compiling the code is simple, resulting in improved performance for Android development. Null safety:  Kotlin is a null safety language. It aims to eliminate the NullPointerException (null reference) from the code. Java Interoperability:  Kotlin provides full interoperability for Java code. Java code can utilize Kotlin code, and Kotlin code can use Java code. Compilation Time:  Kotlin is faster and better than Java in terms of its performance and fast compilation time. Default & Named Parameters Difference between Val and Constant Both  val  and  const ...