Kotlin is JetBrains new programming language, the maker of the world’s best IDEs. Now Kotlin supported by Google For Android.
Kotlin comes from industry, not academia. It solves problems faced by working programmers today. As an example, the type system helps you avoid null pointer exceptions. Research languages tend to not have null at all.
Why Kotlin
Java Interoperability
Kotlin language is inter-operable with java. It means we can user previous java project with new kotlin classes also and all Java frameworks are still available. We have a one-click java to kotlin converters also.
Familiar syntax
Kotlin Language syntax is very familiar to any programing language who came from OOP domine. There are some differences compare to Java such as val, var
Class Example{
val a:String= “Kosmik” //val means unmodifiable
Var i:int=1 // var means modifiable
}
Fun hellworld(){
Val str=”hello”
print(“$str World”)
}
Kotlin comes from industry, not academia. It solves problems faced by working programmers today. As an example, the type system helps you avoid null pointer exceptions. Research languages tend to not have null at all.
Why Kotlin
Java Interoperability
Kotlin language is inter-operable with java. It means we can user previous java project with new kotlin classes also and all Java frameworks are still available. We have a one-click java to kotlin converters also.
Familiar syntax
Kotlin Language syntax is very familiar to any programing language who came from OOP domine. There are some differences compare to Java such as val, var
Class Example{
val a:String= “Kosmik” //val means unmodifiable
Var i:int=1 // var means modifiable
}
Fun hellworld(){
Val str=”hello”
print(“$str World”)
}