- 3

Should I begin learning Java or c++?

I have been learning JS for years now and I recently realized that JS just won't do it for me. I want to code games instead. I'm torn, I want to finish JS, but...but.. ...I do-dont. And once I start learning another language , I'm going 100% . This is a huge decision and been wrestling it for months. Ggl says that Java is easier but c++ is better in a professional sense. I don't want to jump too far in the deep end now, Im ADD af and it's hard to concentrate. What do you think?

7th Jun 2022, 9:34 AM
pHANTOM|sTEELE
20 Answers
+ 1
That means you're not keeping up with Android Developer information. Everything is leaning toward Kotlin especially with Jetpack compose. They're trying to do away with XML as well.
7th Jun 2022, 1:25 PM
Justice
Justice - avatar
+ 2
Ya that started pissing me off
7th Jun 2022, 1:41 PM
pHANTOM|sTEELE
+ 2
So Kotlin, do you think it's better than Java | c++ As far a syntax simplification and difficulty?
7th Jun 2022, 1:43 PM
pHANTOM|sTEELE
+ 2
That is an incredibly biased question. I personally love Kotlin more than ANY other programming language. It's perfect in my own eyes. You would need to see for yourself if you like the language or not.
7th Jun 2022, 1:46 PM
Justice
Justice - avatar
+ 1
pHANTOM|sTEELE How are you shy of mastery but then still have a lot to learn? I think you need to dispose of the word "master" when in comes to programming in general. You can become extremely comfortable with a language, but you're never going to master one. Also, just note that Google doesn't want any new apps in Java. They've moved on to Kotlin since 2019. It is not recommended to make apps in Java and if you go into Android Device forums, they're all going to encourage Kotlin rather than Java, especially since Kotlin has null safety and Java most definitely does not.
7th Jun 2022, 9:57 AM
Justice
Justice - avatar
+ 1
WHAT!?!? I thought Java was the standard!
7th Jun 2022, 1:15 PM
pHANTOM|sTEELE
+ 1
Well it's been my plan for years to learn Java next but idgaf about it. I'm glad I asked this question before I got to in to Java. Plus kotlin sounds like it packs a bigger punch.
7th Jun 2022, 1:28 PM
pHANTOM|sTEELE
+ 1
I am surprised how Java can use the same basicish syntax but act so much differently.
7th Jun 2022, 1:29 PM
pHANTOM|sTEELE
+ 1
It doesn't necessarily pack a bigger punch, it's just... Safer and easier. It's important to note that Kotlin can NOT exist without Java, as it runs on the JVM and is a direct descendant of the language. If you learn Java, it'll be very easy to move to Kotlin and same vise-versa.
7th Jun 2022, 1:31 PM
Justice
Justice - avatar
+ 1
pHANTOM|sTEELE What do you mean same basic syntax? Java syntax is not basic and annoyingly verbose.
7th Jun 2022, 1:31 PM
Justice
Justice - avatar
+ 1
I apreci8 your insight I already like Kotlin better.
7th Jun 2022, 2:27 PM
pHANTOM|sTEELE
+ 1
After all the answers I gave, someone just repeats what I've said and they get best answer. 😂 I'm not mad, just found that funny. And be sure to also check out the official Android Developers course since you can't really learn Android Dev on Sololearn. Just language syntax.
7th Jun 2022, 2:30 PM
Justice
Justice - avatar
+ 1
I'll change it, didn't realize there were 2
7th Jun 2022, 2:32 PM
pHANTOM|sTEELE
+ 1
Quick q. Does Kotlin require semi-colon after var declarations n stuff?
7th Jun 2022, 2:41 PM
pHANTOM|sTEELE
+ 1
Only if you have multiple on the same like. All of this will be learned during the course, so don't sweat the small stuff yet.
7th Jun 2022, 2:41 PM
Justice
Justice - avatar
+ 1
So... I get to forget about ; then?!!
7th Jun 2022, 2:43 PM
pHANTOM|sTEELE
+ 1
Yup. Haven't used one at all when making Android apps. But take that with a grain of salt since they're not very advanced apps. You still may run into a need for one.
7th Jun 2022, 2:44 PM
Justice
Justice - avatar
0
What do you mean by "finish" JS? Are you taking a course that's teaching you JS? I would recommend to just finish that then, and then you can do some research online to see what languages are being used for different gaming engines. Also, you're throwing me off with the 100%. You can't learn 100% of a language, it's just not possible with how often a lot of they get updated and the sheer vastness of each language.
7th Jun 2022, 9:38 AM
Justice
Justice - avatar
0
I started with html @ 12, css a bit later and I've been learning JS for years (I'ma procrastinator] I'm just shy of semi mastery of JS, I know most of it but I still have a lot to learn. But I don't think it will ever Benefit me really in the future. It's taken me long enough with js and I know if I start Java it will take years to learn as well, I think I'd rather dedicate myself 100% (that's what I meant) to Java which will allow me to advance on my dream of making Android games and apps.
7th Jun 2022, 9:48 AM
pHANTOM|sTEELE