loading...
Cover image for Why you should switch to kotlin as an android developer

Why you should switch to kotlin as an android developer

edkluivert profile image Kluivert ・1 min read

About two years ago, Google announced kotlin as the official language for android development and since then Google have been trying their best to make developers adapt to it.

Today i'll be giving you reasons why you should start to use kotlin for developing android apps, here are some of my reaons.

  1. Kotlin is simpler and concise - defining classes and variables in kotlin can be pretty easy and small lines of code.

an example would be this

var variable:Int = 10
var string:String = "Hello World"

  1. Kotlin allows nullability - yes to making your variables null in value.

  2. Kotlin is very expressive - from methods, control statements and classes.

  3. Kotlin is more demanded in android development - most companies specialised in the development of android apps now require kotlin devs when hiring.

There's more to kotlin but these are few points of mine tho. I do hope you find reasons to consider learning kotlin as an android developer.
Thank you.

Let me know in the comment section if you want posts on how to get started with kotlin, i'll be happy to post such topics and hope you'll learn. thank you and have a wonderful day

Posted on by:

edkluivert profile

Kluivert

@edkluivert

Just a guy who loves to learn new things and also a mobile developer

Discussion

markdown guide
 
 

Default parameter values are another excellent reason in my opinion. No need to write an overloads to call with the default values.