+ 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
51 Respuestas
+ 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.
+ 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
+ 5
Learn C++... It's syntax is quite similar to java and also it is low level and has tones of applications...
+ 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 :)
+ 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.
+ 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
+ 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
+ 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.
+ 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..
+ 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
+ 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 :)
+ 2
I mean it works with memory directly.
It could also be used for writing kernels and drivers..
+ 2
Aleksei Radchenkov thnx dude ❤️
+ 2
No problem 👍
+ 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.
+ 2
You answered a question concerning game development, then concurrently you ask the same question?
+ 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
+ 2
Maher Al Dayekh thank u so much man 💜
+ 2
C++ 😊