+ 63

Why should one switch from Java to Kotlin??

They say, Kotlin is easier. But easiest is to stay at what you learned. Kotlin is functional. Java has got lambdas... I dont see a good reason for converting. I personally never got warm with Java but begin with Kotlin and like it.

26th Feb 2018, 7:05 PM
Oma Falk
Oma Falk - avatar
79 Respuestas
+ 48
I still like java more as i know that more than kotlin ☺ /*but kotlin got some amazing new features which reduces so many lines of codes in java*/
26th Feb 2018, 7:14 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 38
@ bobbie, you will find also a kotlin tutorial in the new tutorialspoint app, download from the google play store or you can use it in the web, the address: https://www.tutorialspoint.com/index.htm
27th Feb 2018, 4:21 AM
tooselfish
tooselfish - avatar
+ 30
some very interesting comments, it seems to me that kotlin is it worth to have a look for thanks @ all 👍😉
27th Feb 2018, 6:48 AM
tooselfish
tooselfish - avatar
+ 25
@bobbie this is where I'm learning it. They are my go to site for anything about the language followed by stackoverflow. https://kotlinlang.org/docs/tutorials/
26th Feb 2018, 9:37 PM
John Wells
John Wells - avatar
28th Feb 2018, 5:43 AM
tooselfish
tooselfish - avatar
+ 22
Java is what we should call an almost statically typed language. In it, a variable of type String is not guaranteed to refer to a String— it might refer to null. Even though we are used to this, it negates the safety of static type checking, and as a result Java developers have to live in constant fear of NPEs. Kotlin resolves this by distinguishing between non-null types and nullable types. Types are non-null by default, and can be made nullable by adding a ?like so... So my advice is Kotlin
27th Feb 2018, 8:17 AM
Austin Oyugi
Austin Oyugi - avatar
+ 21
In my opinion there is no harm in learning a new language. Personally I like to code in java and c++. But once I master in these language I'm planning to learn koltin. This gives me variety of options and I can code as per requirement .
27th Feb 2018, 9:26 AM
Hrishikesh Kulkarni
Hrishikesh Kulkarni - avatar
+ 20
You could also use something other than java or kotlin. Check this link: https://www.androidauthority.com/develop-android-apps-languages-learn-391008/ I was planning to switch from Java to Kotlin but then I decided to use C# instead because of tools like Unity and Xamarin. And I'll probably change to C++ later because it's better but harder.
27th Feb 2018, 1:57 PM
qwerty
qwerty - avatar
+ 19
I'm converting to Kotlin. I made 2 simple Android apps in Java, but Kotlin is much closer to my favorite language C++, plus it has many things that are better than both languages. Therefore, it is my obvious choice for apps and even could become my favorite language, if my learning of it's power continues as it has.
26th Feb 2018, 7:30 PM
John Wells
John Wells - avatar
+ 18
and if all wants to use the engine flutter, all are going to change to the programming language dart 👍😉 https://developers.googleblog.com/2018/02/announcing-flutter-beta-1.html
28th Feb 2018, 5:37 AM
tooselfish
tooselfish - avatar
+ 15
Kotlin is new and modern language and since Google announced as official language for Android development eventually there will be good community support.
28th Feb 2018, 1:41 AM
Nilavarasan
Nilavarasan  - avatar
+ 14
I use Xamarin (.NET) and Unity for games which is better than Java imo.
27th Feb 2018, 1:38 PM
qwerty
qwerty - avatar
+ 13
I've been curious about Kotlin after seeing some similarities to other tools I use, but at the moment I'm trying to improve on Javascript (and start using TypeScript)
26th Feb 2018, 8:03 PM
Mickel
Mickel - avatar
+ 11
If you want to go in android then use kotlin or else use java
1st Mar 2018, 11:56 PM
Abdul Razzak
Abdul Razzak - avatar
+ 11
Java is not so bad.
4th Mar 2018, 4:40 PM
Arpit Ingle
Arpit Ingle - avatar
+ 10
@Michael I have 21 working Kotlin programs in SoloLearn.
27th Feb 2018, 7:35 PM
John Wells
John Wells - avatar
+ 9
Soon. I've written 2 lessons towards it and others have also written lessons.
28th Feb 2018, 2:44 AM
John Wells
John Wells - avatar
+ 9
I was learning java and heard kotlin is arriving, I stopped learning java bcoz I was new. But for professionals I don't think they should convert it to kotlin as java has very large community support and is very successful in terms of market demand where kotlin has just arrived.
28th Feb 2018, 6:25 PM
Pravin Pandey
Pravin Pandey - avatar
+ 9
Because java sucks! It's the more boring language in the world and not secure.
2nd Mar 2018, 1:45 PM
MecyDev
MecyDev - avatar