0
is kotlin easier than java ?
2 Answers
+ 3
Kotlin is more modern than Java. Those who designed it, did their best to avoid many of Java's known pitfalls and annoyances. As a result, Kotlin language is very consistent and beginner-friendly. The syntax is very clean. You can do anything that Java can do, but you can achieve the same with fewer lines of code, less boilerplate, and safer (no NullPointerExceptions). Kotlin has better generics, better collections, no mess with primitive types, and a great story for concurrency (coroutines). It has many elements of functional programming, such as immutable data types and first class functions (lambdas), these can make your code more expressive and safe.
Also it has perfect interop with any existing Java code and library.
+ 3
That's different from Person to Person. But rather than thinking about the difficult you should think about what you want to learn. Java's a Universal language which's use for many Software Codes, can also be used for web and Game. Kotlin's mostly used for Android Programms, also Smartphone.