r/code • u/maherharp • Jan 12 '21
Which Programming Language Should I Learn?
Hello, I am a 14 year old with a passion for computer science and programming. I am having a hard time trying to pick a language to fully know and not get into my way of everything else that I am doing. Here is my dilemma. So, I want to learn C++ because I love how the language can be used for almost everything and being efficient with it. It also helps me with USACO and robotics. But, I love Python for its simplicity and data structures. Also, I want to be a software engineer when I grew up, so I know Python will help me a lot for that. My question is, Should I focus on C++ because of the benefits I have in the present, or Python because of my future profession and projects?
10
Upvotes
1
u/[deleted] Jan 12 '21
You should write a C++ application that interprets python lol best of both worlds!
But seriously, if you really learn C++, learn the fundamentals of programming, data structures and some low level stuff (mem management and architecture) then you can go to any language you want with ease.
Make sure you focus on the ideas of programming, not just how to write a program in whatever language you're writing in currently, since every language follows the same priniciples (give or take). You have conditional statements, code flow, variables, data types, structures, arrays, etc. Things like these are carried between language so understanding what they are fundamentally is more important than the language you choose.
My suggestion for learning anything is to do it with something you are actually interested in. If you love video games, for example, learn how to program a video game in any language you want. That will keep you motivated to keep at it until you reach your ultimate goal.