- 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?
20 Respostas
+ 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.
+ 2
Ya that started pissing me off
+ 2
So Kotlin, do you think it's better than Java | c++ As far a syntax simplification and difficulty?
+ 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.
+ 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.
+ 1
WHAT!?!? I thought Java was the standard!
+ 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.
+ 1
I am surprised how Java can use the same basicish syntax but act so much differently.
+ 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.
+ 1
pHANTOM|sTEELE What do you mean same basic syntax? Java syntax is not basic and annoyingly verbose.
+ 1
I apreci8 your insight I already like Kotlin better.
+ 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.
+ 1
I'll change it, didn't realize there were 2
+ 1
Quick q. Does Kotlin require semi-colon after var declarations n stuff?
+ 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.
+ 1
So... I get to forget about ; then?!!
+ 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.
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.
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.