This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: 1KKOVpPJRrWW9b9rRxHkv1lOqq2ke17s9UKEyhuuKSI
Cover

Is Learning C++ Scary?

Written by @soheil210 | Published on 2022/2/21

TL;DR
C++ is an upgraded grandson to C and can literally do magic since it is in “low-level” language. C++ enables you to go deep down in your machine and program it the way you wish to. This language is preferred to others, when it comes to robotics, games, space crafts, etc. C++ can compile and execute the commands much faster since the machine does not need to decode your code much further. This gives you leverage when execution speed matters.

Intro

If you have ever tried to start learning programming, you might have heard about the conflict between different languages, compiling and interpretation systems. There have been rumors going like “Python is much easier to deal with so let’s start with that”, or “C++ is horribly difficult, so let’s not go there”. Yet honestly speaking, true, it is a little bit different and we might need to consider features other than our personal preference and emotional impacts. This article might help you see the bigger picture.

Argument

At the first glance, comfort might seem important, but do you really prefer to make a salad with your blade or takedown enemies? Low-level languages like C++, and its family, can be entirely important since they provide you with an array of abilities that you might not easily find elsewhere. C++. Also, C++ is an upgraded grandson to C and can literally do magic since it is in “low-level” language.

You might wonder what a “low-level” language is; let’s put it this way: you are capable of talking to your machine directly and asking it to do what you desire. So, can’t the other languages do the same thing? Probably not the same with the same quality and the same details. C++ enables you to go deep down in your machine and program it the way you wish to. Therefore, this language is preferred to others, when it comes to robotics, games, space crafts, etc.

The other interesting point is when you have to explain everything in detail to the machine, which is not easy, it can compile and execute the commands much faster since the machine does not need to decode your code much further. This gives you the leverage when execution speed matters; something that Python does not offer.

Conclusion

Every programming language has a purpose and reason and will come in handy, when its time comes, but let’s not skip some certain languages since our gut tells us “This is difficult”. Interestingly enough, I started learning with Python, which did not help me learn much.

As soon as I started working with C++, the “Aha!” moment came to me, and I started learning what is really happening in the world of programming. If you want to learn programming, take C++, do it the hard way and enjoy the forthcoming results.

[story continues]


Written by
@soheil210
C++ / C# / Python, and game programming Blockchain and smart contracts researcher Quantum and security enthusiast

Topics and
tags
programming|c++|cpp|c-programming|c-language|beginners|programming-tips|programming-languages
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: 1KKOVpPJRrWW9b9rRxHkv1lOqq2ke17s9UKEyhuuKSI