If I wanted to start developing my own games, which language would be better C# or C++?
I can’t seem to get a straight answer from anything I google.
About this post
- Posted
- Archived
- Score
- 9 · 100% up
- Kind
- Text
- ID
- fclrrr
I can’t seem to get a straight answer from anything I google.
8 comments
Either they’re both mainstream languages used in AAA development. Unreal uses c++ and Unity uses C#. Most big studios who make their own engines like rockstar code in c++ but as an indie it just depends on what engine you want to use. I personally went with c# as my first language as it’s more plain talk and easier to read for a beginner to understand
As a software developer I highly suggest to start with C#. C++ is low level, which means is closer to machine code, so is more difficult, it also requires memory management and deeper knowledge in algorithms and data structures.
C# is used for Unity, there is tons of documentation and tutorials out there, and gives you some basic understanding of Object Oriented Programming.
It doesn't really matter what language you use, once you get the fundamentals down their pretty much universal across languages. Unity uses C# vs Unreal uses C++. Both have their pros and cons but it's up to you to decide which route you want to go. I would personally choose C#(I feel it's easier to type in) with Unity(easier to approach).
Short answer: C++ for Unreal Engine and C# for Unity.
I want to attach two pieces of wood, should I use a nail or a screw?
Sometimes one will be better than the other because of the application, but in general the important part is knowing how to attach them, where to attach them, and how to make sure your shelf doesn't fall apart as soon as you put a book on it.
Sorry, I am terrible with metaphors.
C#
it deppends on u if u want to learn C# individually and start building ur own games by your own codes or starting making games directly for me i Rushed developing games without learning a thing i just create a scene in unity and try to find something in google and youtube that solves the issues i face or i learn some codes makes me do a progress even better ... To start immediatly watch Brackeys How to start making games in unity episodes (all) this will make u comfortable in this field
There is no straight answer. If you start with c# now and want to learn c++ later you can. The knowledge transfers, it isnt starting from scratch.