KOTLIN - It's just beginning.

Wish you happy new year 2019 to everyone. Yeah It's new beginning. Let's do fresh start with Kotlin.

Kotlin introduced by Jetbrains, the offical designer of the most intelligent Java IDE named Intellij IDEA.

In 2017, Google announced Kotlin is an offical language that runs on JVM.

Why Kotlin?

Kotlin is an open source programming language that combines object oriented programming and functional features into a unique platform.

Kotlin is 100% inter-operable with java.

Kotlin compiles to JVM bytecode or Javascript.

Kotlin costs nothing to adopt.

It imposes to runtime overhead.

Features:

Kotlin is null safety.

It's lean syntax.

Exceptions are unchecked.

Functional Programming

Distinguishes between mutable and immutable views over collections.

Have an operator overloading.

Extension functions let you add methods to class without modifying their source code.

Delegation can be done automatically.

No more boilerplate's.

Less code, more clean.


Disadvantages:

Namespace declaration

No static declaration

Comments

Popular posts from this blog

Flutter Bloc - Clean Architecture

What's new in android 14?

Dependencies vs Dev Dependencies in Flutter