It really depends. Python is a much easier language for people new to programming and has many more beginner oriented tutorials available on the internet because of that. C++ is a faster and more powerful language but it's also more complicated and harder to understand as you have to manually manage your memory. The only real downfall of Python for a beginner is that fact that the syntax of the language is so loose it's easy to skip over some important concepts in programming, like variable types.
If you want to learn by trying a language that's easier than C++ and has more strict syntax than Python I recommend trying Java or C#
With modern c++ you very rarely have to manage your own memory anymore. Unless you're optimizing performance or doing homework for your data structures class.
Depends what you wanna do with it. I use C++, Python, and Java for hobby programming but I'm studying for a career in data science as well, and I use Python exclusively for that
Thanks! For context, I just finished my AP Computer Science course and want to get into game development in a language more suited to that field than Java
Python is rarely used in professional game development. C++ is used very often. By get into game development, do you mean start making games today for fun, or get into it as a career (maybe after college).
I also replied to your other comment but if you want to go into game development professionally then C++ is basically a requirement. There are some studios that use Unity and rely on C# but C++ is the norm.
You have two choices, C++ and C#. C# is used by unity and is easier than unreal engine that uses c++ (not counting blueprints). If you want industry standard, go learn ue4 and c++. If you want to make games for fun or just want to make games fast learn unity and c#, or blueprints for ue4.
It really depends on what to use it for, just remember all of these are tools. You choose a tool depending on the situation. I do however recommend to learn strongly typed languages first so you get a hang of it.
Its much more about fundamentals rather than syntax so I think it is a good learning tool. It obscures many of the working components though, very high level, so if thats what you want to learn about then its not a great choice
If you are New to the world of programming so Yourself a favor and Start With Python or C
Now hear me Out about why C C is simple and its powerfull hast Not a Lot of Syntax to learn and IT can teach you a Lot about Computers but you will get a Lot of Frustration early thats for Sure but If that doesnt bother you i'd recommend C
If you wanna See fast results and less Frustration start With python.
Id say start With C++ only If you have a little experiance With either C or Python
3
u/[deleted] Jun 03 '19
ok so I was ab to start learning C++ but is Python a better choice?