r/cpp • u/HolidayNo84 • Jul 02 '26
Why use c++ over c for game development?
Isn't c++ overkill for most games? I think with good architectural decisions you can make decent 2d and 3d games using only what's available in c without the higher level concepts introduced in c++? Do you think I'm being stupid here? Am I missing something? I'm only just starting to learn c making simple games leaning heavily on Raylib and ECS architecture.
0
Upvotes
View all comments
Show parent comment
5
u/therealjerseytom Jul 03 '26
I think this is an opportunity to step back and really ask yourself why you "don't like it", and if there's some perspective that you might be missing.
Different approaches in programming, are to me, literally like you'd look at a hammer, screwdriver, wrench, or saw. I don't have particular sentiments towards any one of them. Like, "Ugh, screwdrivers just suck." They're all good at certain things and not good at others.
If all you've ever been doing is pounding nails, a screwdriver probably seems like it's not worth bothering with.
That all to say, it's worth keeping an open mind to.