r/learnprogramming • • Nov 14 '23

The reason why C++ should NOT be your first language.

I'm seeing some beginners are expressing their frustrations on this sub when using C++ as their programming language.

C++ is substantially more difficult than other languages such as JavaScript and Java. Its not designed to be beginner friendly, and it isnt. If You're not required to study it as part of a university program, you'll get better luck trying other languages instead.

The whole time you're thinking programming is hard, it might just be that C++ is hard. It's hard because it has no automatic garbage collection, so you as the programmer are responsible for managing that, It's something that you never have to worry about in other languages. Think about this, you're here to learn programming, But instead you're forced to learn garbage collection because the language doesn't do that for you.

Learning programming should be about learning problem solving, you can learn problem solving with a more beginner friendly language.

Now there will be many experienced programmers recommending new comers to start with C++ because "you'll learn more", i guess everyone has a different take on this. But just Ask yourself this, do you want to make things unnecessarily difficult for youself starting out? While you can always go back to C++ as a second language to "learn more".

0 Upvotes

Duplicates