DEV Community

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

Posted on

11 3

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

Sentry growth stunted Image

If you are wasting time trying to track down the cause of a crash, it’s time for a better solution. Get your crash rates to zero (or close to zero as possible) with less time and effort.

Try Sentry for more visibility into crashes, better workflow tools, and customizable alerts and reporting.

Switch Tools 🔁

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.

Jetbrains image

Build Secure, Ship Fast

Discover best practices to secure CI/CD without slowing down your pipeline.

Read more

👋 Kindness is contagious

Value this insightful article and join the thriving DEV Community. Developers of every skill level are encouraged to contribute and expand our collective knowledge.

A simple “thank you” can uplift someone’s spirits. Leave your appreciation in the comments!

On DEV, exchanging expertise lightens our path and reinforces our bonds. Enjoyed the read? A quick note of thanks to the author means a lot.

Okay