M
M
mRelby2021-02-11 03:12:00
Android
mRelby, 2021-02-11 03:12:00

Does it make sense to start learning Kotlin if you are not familiar with Java at all?

Good day to all!

Initially, I planned to write a small TG-bot. But as the bot learned Python and the Aiogram framework, it acquired new functionality that was not originally planned. Unfortunately, as it turned out later, about 90% of the plans could not be implemented inside Telegram. There are too many restrictions. And if something is realizable, then all this will look too confusing for the average user.

In short, now there is an idea to try to implement everything planned already in the Android application. About 7-10 years ago, I accidentally saw Java syntax and then realized: creating applications is definitely not my thing. Today there is Kotlin, which, according to many, is much lighter and simpler than Java.

And so I decided to ask the experienced: is it worth at least trying to start learning Kotlin without the slightest knowledge of Java? The syntax seems to be easier, but as I understand it, Kotlin is still too tied to Java and, in fact, can do nothing without the libraries of the latter.

I am especially glad to hear the opinion of those who started learning Kotlin as the first PL. Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2021-02-11
@deepblack

Costs. If you need Java, you can learn along the way.
Here, similar questions are asked once a week, you could search the site and see what they answered there.

D
Denis Zagaevsky, 2021-02-11
@zagayevskiy

Kotlin can be learned without knowing Java. It is a fact. Under android, it is tied to the JVM, but for the basic level it does not matter. Then you can always pull up. In the end, you will need to be able to read Java, but this is not some kind of rocket science.
Another question is what

Kotlin, which, according to many, is much lighter and simpler than Java.

It 's not . Kotlin is not simpler than Java. It has a much higher code density, it has a significant number of features that Java simply does not have. When an experienced person tells you that writing in Kotlin is easier and more pleasant than in Java, this is most likely true, but this does not mean that Kotlin is easier to learn. For example, when I switch back to java files, I experience pain and suffering. What could be written in one line turns into 5-10, everything is inconvenient and unpleasant.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question