DEV Community

Cover image for Introduction to Kotlin
George Karanikolas
George Karanikolas

Posted on

Introduction to Kotlin

Introduction to Kotlin


History

  • In July 2011, JetBrains unveiled Project Kotlin, a new language for the JVM.
  • Kotlin was released on 15 February 2016.
  • Kotlin is sponsored by Google, announced as one of the official languages for Android Development in 2017.
  • On 2019, Google announced that the Kotlin programming language is now its preferred language for Android app developers.

Intro

Kotlin is an open-source, statically-typed programming language that supports both object-oriented and functional programming. Kotlin provides similar syntax and concepts from other languages, including C#, Java, Groovy and Scala, among many others.

Benefits of Kotlin

  • Kotlin compiles to JVM bytecode or JavaScript
  • Kotlin can use all existing Java Frameworks and Libraries
  • Kotlin can be learned quickly, and it is approachable
  • Automatic conversion of Java to Kotlin
  • It Requires Less Code
  • It’s Secure

Features of Kotlin

  • Clean, compact syntax
  • Null Safety
  • Data Classes
  • Extension Functions
  • Smart Casts
  • Type Inference
  • Single type system (almost)
  • Functional Programming

Kotlin VS Java

Kotlin VS Java

Applications of Kotlin

  • Pinterest
  • Trello
  • Evernote
  • Slack
  • Netflix
  • And much more!

For many resources, check out my Github:
https://github.com/SeijinD

Top comments (1)

Collapse
 
andrewbaisden profile image
Andrew Baisden

Good introduction.