+ 13

Should I learn C# or C++ after learning Java?

So i wanna be a game dev after learning java and i wanna know if it easier to learn c++ or c# after java

3rd Oct 2021, 3:33 PM
Islam Puth
Islam Puth - avatar
51 Respostas
+ 11
Islam Puth C++ would be my first choice because it's a lower level of programming than C#. For example, C# has a garbage collection engine running to clean up memory leaks if and when they occur. (.NET Framework) C++ does not have that functionality built in, you have to clean up after yourself in your code. Lastly, after C++, C# would be a breeze.
3rd Oct 2021, 10:59 PM
l4t3nc1
l4t3nc1 - avatar
+ 10
Islam Puth I'll answer you. First, "Which language is easier to learn after learning Java" is a very wrong question. You are not supposed to learn java, you should be learning "Programming concepts" instead(take for example: memorizing how a thread is created in Java without even understanding what a thread means is bad). All 3 of them share many things; most notably OOP, if you understand the concept behind it, both C++ and C# will be at the same level. Then again, choose the one you like(not the easier), C++ is a lower level language in general, but some people find it easier than C#. Sorry if I missed something or the choice of words was bad, I'm really bad writing on SL lol
3rd Oct 2021, 9:51 PM
Maher Al Dayekh
Maher Al Dayekh - avatar
+ 5
Learn C++... It's syntax is quite similar to java and also it is low level and has tones of applications...
3rd Oct 2021, 4:22 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 5
It depends on what game engine you choose. (There are alot of them) If you want to use the Unity game engine, go for C#. If you want to use the Unreal game engine, learn C++. Although it is best to learn the fundamentals of programming in general so you can transition between languages with more ease, no matter what you want to do :)
5th Oct 2021, 1:06 AM
Gazntyno
Gazntyno - avatar
+ 4
It depends on what you want to do. There are things that can be better done with low level languages and there are things that can be better done with high level languages. But it is definitely easier to learn a high level language when you already know a low level language than to learn a low level language when you already know a high level language.
3rd Oct 2021, 10:24 PM
Simon Sauter
Simon Sauter - avatar
+ 3
I think what Maher Al Dayekh is referring to is that you answered another person's question about game development shortly before posting your own question. https://www.sololearn.com/Discuss/2896059/?ref=app
3rd Oct 2021, 9:33 PM
Simon Sauter
Simon Sauter - avatar
+ 3
Islam Puth low level languages are those that are closer to hardware, they are faster but more tough to work with, some put C/C++ as low level but some put them on high level; I see them in the middle. In C++, you need to do memory management on your own, in C# it's done automatically by the language
3rd Oct 2021, 10:08 PM
Maher Al Dayekh
Maher Al Dayekh - avatar
+ 3
Islam Puth It may be harder for you to learn yes, but saying "better" is questionable. Depending on what you're doing, "better" changes. As far as I know, smaller games tend to use unity for it being simpler(according to them, I never tried), bigger games tend to have C++ as the main language, for a game like battlefield or GTA, even unreal engine won't do the job(that's why EA has frostbite and Rockstar has RAGE). I mean I'm a gamer but I don't know the better option.
3rd Oct 2021, 10:30 PM
Maher Al Dayekh
Maher Al Dayekh - avatar
+ 3
Nariman Tajari, dunno, I never used either of them. I'm not interested in making games. I just know that c++ is more flexible, gives a lot more opportunities and is cross platform..
4th Oct 2021, 9:12 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 3
I think c++ should be first choice if u have done java then try learning python or client side languages for better development of project
5th Oct 2021, 4:18 AM
Anshul upreti
Anshul upreti - avatar
+ 3
Nariman Tajari I personally use Unity and i chose that engine for a number of of reasons. First Unity has alot of users so its very easy to find tutorials, the documentation is very thorough aswell. Aside from that Unity is a little better for building 2D games than Unreal is & making smaller games when you’re just starting out is highly reccomended. Unreal does have better graphics out of the box but you can still get some amazing looking graphics and effects in Unity. I think Unity is better for behinners who want to start designing & building games. And Unreal is better for people who want to learn art & modeling and is more focused on enviormental work and graphics. They are both great engines & this is just my opinion :)
5th Oct 2021, 11:23 AM
Gazntyno
Gazntyno - avatar
+ 2
I mean it works with memory directly. It could also be used for writing kernels and drivers..
3rd Oct 2021, 4:27 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 2
Aleksei Radchenkov thnx dude ❤️
3rd Oct 2021, 4:28 PM
Islam Puth
Islam Puth - avatar
+ 2
No problem 👍
3rd Oct 2021, 4:30 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
3rd Oct 2021, 8:49 PM
Simon Sauter
Simon Sauter - avatar
+ 2
Islam Puth you asked what to do after learning java. Martin Taylor correctly pointed out that you're far away from having learnt java unless you already learned it somewhere else.
3rd Oct 2021, 8:51 PM
Simon Sauter
Simon Sauter - avatar
+ 2
You answered a question concerning game development, then concurrently you ask the same question?
3rd Oct 2021, 9:26 PM
Maher Al Dayekh
Maher Al Dayekh - avatar
+ 2
Islam Puth C++ and c# "If u want to use unity /*everyone use it so maybe it will be easy for u to find help and alot of c# codes*/ C++ if u want to make games with unreal engine And btw unreal engine has a better quality ofc And also pubg and cod are made with c++ *unreal engine*" ~ This was an answer from you to a question asking about the better language for game development. Then you asked literally the same question. Anyways, there's no better language, check both of them and decide yourself
3rd Oct 2021, 9:32 PM
Maher Al Dayekh
Maher Al Dayekh - avatar
+ 2
Maher Al Dayekh thank u so much man 💜
3rd Oct 2021, 10:12 PM
Islam Puth
Islam Puth - avatar
+ 2
C++ 😊
4th Oct 2021, 7:49 PM
randa abbadja
randa abbadja - avatar