![]() As i read, this is thanks to Kotlin language's feature called delegation properties. Well, i see this is something really tempting and cool. And tbh i think this way in my head "i know Java, Java is one the most popular language out there, i already invested my time and trying to learn and improve more, so why i need to switch to a new one now and spend time all over again" Sure many others feel or felt same way.Īs i understand, Kotlin is being liked mainly for 1 thing which is brevity/less boilerplate coding. That means spending time to learn both languages for same purpose. So a Kotkin dev will need to know some Java basics at some point i guess. I believe apart from some native c++ libraries, most libraries was written in Java in Android. These might be little things but those things may sometimes put off devs switching from Java to Kotlin. Wish it was designed just like Java, C variants "String str="test string" ". Well tbh the first thing put me off when i look at a Kotlin code is variable and functions declarations/assignments like "val a: Int = 1", "fun printSum(a: Int, b: Int) ". When i see Kotlin code examples, first impression it looks like a functional or scripting programming language rather than an object oriented but i read that it actually gives both flavor. ![]() Main problem for me is the idea of learning a new language, investing time for it while i already know Java and it's been used for android development since inception of Android. Here are some of things that putting me off switching to Kotlin. Lately i've been realising Kotlin is replacing Java for Android development. Then i started learning Java for Android development. After a brief c++ learning curve, I studied and used C# for a while for Windows applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |