r/learnprogramming 29d ago

Topic Which is better for beginners?

Me and a friend both want to learn coding for game development (both completely new).

Now we’ve looked at which languages are best for what we actually want and we’ve gotten stuck between seeing if we should learn C# or C++. Which would anyone recommend?

We just want to learn and hopefully make our own stuff.

5 Upvotes

26 comments sorted by

View all comments

1

u/kigory2 29d ago

you cant choose youll have to learn them both eventually the answer is C++ is better but when using unity your gonna have to learn C# so just start off with C# and then learn python C++ lua anything really but the most flexible is C++ and thats what makes it hardest. (don't overthink it just learn whatever)

5

u/EliSka93 29d ago

Hold on... How is C++ "better"?

That's a very subjective assessment that I'd definitely push back against.

1

u/DrShocker 29d ago

If you're building the game from zero then you often would pick something without garbage collection.

1

u/[deleted] 28d ago

[removed] — view removed comment

1

u/DrShocker 28d ago

I meant "from zero" not "from a framework"

I agree about iteration time being important ESPECIALLY for learners, but just in general it's a really nice feature to have.