Kotlin Introduction





Hello friends finally we are starting to lean Kotlin programming, here we are going to learn about basic introduction of Kotlin.

1. What is Kotlin?


Kotlin is a object-oriented programming  language like java programming language  that is interoperable with the Java virtual ,machine and It can also be compiled to JavaScript source code.
Kotlin is also for web apps and server-side.

Kotlin was developed by JetBrains  and year 2017 Google announced that Kotlin would be the first officially supported to Android Studio.


2. Kotlin for Android


we know that before Kotlin there was not any language to develop android app. now we can develop Android app with Kotlin programming language in android studio.
If i talk about Java there is lot of redundancy results in verbose and the code can be longer code. but The Kotlin has been simplified and more modern language to making easier for beginners to learn.The most Kotlin features are null safety, eliminating null pointer exception errors.

3.  Why Kotlin?

Kotlin is a latest open source object-oriented programming language for Java Virtual machine enables and we can also compile to JavaScript Source code. Kotlin is very similar to Java in  statically typed  structure and object oriented. Kotlin reduce the complexity and length of code .
We know that java is always a difficult  to handle null values and if i talk about Kotlin in this department you don’t have to write extra logic to manage null values.
In Kotlin we  don’t have to write class for simple logics and there are many things like extension function, 

4. Fetures of Kotlin

As a android developer i think the  Kotlin is very useful for Andoird development because of the some very useful features :
  • Kotlin Supported by Google 
  • The most imported Null Safety in Kotlin
  • Kotlin is open source and easy to use 
  • Full Java Interoperability 
  • We can compiles Kotlin  into  JVM bytecode and  JS also
  • Kotlin use defaulted parameters
  • Kotlin use Extension functions
  • Kotlin wants you to write less code