Official Programming language for android is Kotlin

Yesturday Google on it`s I/O developer`s conference ,has announded Kotlin as the offical language for andoid.Kotlin can be use along with c++ and java as well.Google said that ,Kotin is brilliantly designed, mature language and it will make Android development faster and more fun.



                  

                          Inrtoduction to kotlin

 

Developer                              –       JetBrains

Type                               –      JVM language

Devoloped TO support          –        Andriod,Browser,JVM,Native applications

First appered                                     –           2012

Tool support-Command                     –           Line ,Plug-in



 

                                           Kotlin Usage Highlights

Pinterest-introduced Kotlin into their application, used by 150M people every month

Gradle- introducing Kotlin as a language for writing build scripts.

Evernote-integrated Kotlin into their Android client

Uber- uses Kotlin for building internal tools

Coursera – Coursera Android app is partially written in Kotlin

Pivotal-Spring makes use of Kotlin’s language features to offer more concise APIs

Atlassian-All new code in the Trello Android app is in Kotlin.

 

 

                                                     Why Kotlin?

Concise                    -Seriously  decries  the amount of regular code.

Safe                          -1.Avoid entire classes of errors such as null pointer exceptions

2.Convert run time error into compile time

Interoperable            -Leverage present libraries for JVM ,Andriod and the browser

Tool-friendly              -Select any Java IDE or build from the command line



                                                Features

1.Open source

2.Stronger type system

3.Can be easily used from Java

4.String templates

5.Named arguments & defult

6.Lambda expressions

8.Functional programming methods

9.Auto generated POJOs

10. Destructuring Declarations

11.Does`n have checked exception

12.Proper function types , as opposed to Java`s SAM-conversions


11.Operator Overloading

12.Optional semi-colons

13.Array in kotlin are invariant

14.No raw types

15.Null references are controlled by the type system

 

 

 

Post Author: gookas

Leave a Reply

Your email address will not be published. Required fields are marked *