Why you should switch to kotlin as an android developer
(Source/Credits: https://dev.to/edkluivert/why-you-should-switch-to-kotlin-as-an-android-developer-212o)
About two years ago, Google announced kotlin as the official language for android development and sin...
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.
- 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"
-
Kotlin allows nullability - yes to making your variables null in value.
-
Kotlin is very expressive - from methods, control statements and classes.
-
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
Comments section
undermark5
•May 1, 2024
Default parameter values are another excellent reason in my opinion. No need to write an overloads to call with the default values.
davidbojkovski
•May 1, 2024
Do it, getting started with Kotlin series would be nice
edkluivert Author
•May 1, 2024
Alright I'll do it
__mrvik__
•May 1, 2024
+1