DEV Community

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

Posted on

Why you should switch to kotlin as an android developer

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

Top comments (6)

Collapse
 
davidbojkovski profile image
David Bojkovski

Do it, getting started with Kotlin series would be nice

Collapse
 
__mrvik__ profile image
MrViK

+1

Collapse
 
devit951 profile image
Ildarov

+2

Thread Thread
 
5th profile image
Marius

++

Collapse
 
edkluivert profile image
Kluivert

Alright I'll do it

Collapse
 
undermark5 profile image
undermark5

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