+ 10

Is learning c++ worth it in 2019?

Just took an interest in programming. I know c++ isnt a language for beginners but it seemed really interesting to me (unusual i know)...but some people are saying c++ will be dying soon and stuff so you should learn python instead. That kinda saddened me but then i heard about c++17 which is improved version of c++14 and its making its way back into its game.( i also heard c++20 is coming soon, is that true?) So, in a nutshell..is it worth learning c++ now and will it still be relevant in next 20 years..and what exactly is the difference between old c++ and c++17?thx!

4th Jun 2019, 5:05 PM
ManitB
ManitB - avatar
20 ответов
+ 23
C++ is no where near dying. I don't get why people keep saying that, don't listen to those people, they don't know what they are talking about. It's still a very widely used language in almost all fields, especially in places where speed matters, like games and where close control to hardware is required. It will not die for a very long time, if ever and is still getting updated every few years. In fact, it is still in the top 3 languages used today, above python ( even though python is gaining ): https://www.tiobe.com/tiobe-index/ Learning C++ is definitely worth it as it teaches you alot of how a computer works, I doubt you learn that in python, and therefore a very good language to start with. Once you know C++ you can easily learn most other languages. Python is very popular because it is so beginner friendly and it is fast to write code in without requiring to write all the boilerplate code C++ requires. C++ was my first language because I found it interesting too, it's not that unusual. Comparing old C++ with C++17 would probably be enough to fill a couple of books. old C++ looks similar to C, which you will probably see alot in the playground on sololearn, while new uses the std library all over the place. Code that normally takes 10 lines to do can probably be done in 1 line in the newer versions and it also reduces the need to write as much boilerplate. Here are some links to some new features in each release. Though I doubt it'll mean much to you if you don't have any experience in the first place. https://en.wikipedia.org/wiki/C%2B%2B11 https://en.wikipedia.org/wiki/C%2B%2B14 https://en.wikipedia.org/wiki/C%2B%2B17 https://en.wikipedia.org/wiki/C%2B%2B20 Yes, C++20 is real and it's gonna be a mayor update. https://www.youtube.com/watch?v=wrwwa68JXNk Maybe this video can also show the difference.
4th Jun 2019, 7:05 PM
Dennis
Dennis - avatar
+ 11
C++ will survive the next 20 years, minimum. BTW awesome answer by Dennis !
5th Jun 2019, 9:35 AM
Sonic
Sonic - avatar
+ 10
Yes! Of course C++ is very Beneficial with Robotics And Other too
6th Jun 2019, 9:08 AM
Sophia
Sophia - avatar
+ 7
C++ is a very robust language with a huge performance and security advantage compared to most modern languages coming out today. Comparing C++ to python is like comparing apples to orange. Python is hyped because of ML, however python isn't a robust languages and comes with a lot of performance constraints and issues when designing and building sophisticated app and handling huge volume of data. To be very honest with you, C++ is technically more preferable than python in ML when working with sophisticated algorithm and huge dataset in ML. python can be used to create quick and dirty prototype in ML or simple ML apps however remember to use a more robust, secured, performance enhanced language like C++ for complex apps, algorithms and huge datasets
5th Jun 2019, 1:23 PM
Oly
Oly - avatar
+ 5
I lately made a little test here for myself: I wrote two times a prime testing function, one in C, one in Python, and let them run dry (no output) on a range of numbers. Within the time window of 5 seconds that Sololearn offers, the Python version managed a range from 0 to 800,000. The C version pulled off a range up to 12,000,000. Why should a language this much quicker than the hot and upcoming languages die out? Who would voluntarily relinquish the option to write code that runs multiple times quicker?
5th Jun 2019, 9:19 PM
HonFu
HonFu - avatar
+ 4
A lot of good answers on why it's relevant and will remain relevant. To add further, think about the fact that it has been around for roughly 50 years already and is still one of the best languages today; that says a lot about it without even saying anything about it.
5th Jun 2019, 8:37 PM
AgentSmith
+ 4
C++ is mother of all modern programming languages, and also: 1.) Oops concepts of c++,are soooo goood & simplified that u can actually do anything with it. 2.) The modern c++ is sooo beautiful that u will love it at first sight 3.) u can manually use the space as much as u want. 4.) The circuit/robotics are easy to design by using c++ 5.) U can handle big gigantic amount(gigabytes) of data in c++ easily, and can process it in seconds. 6.) U can actually do anything in c++, see the libraries that are provided in c++ or on the web. 7.) C++ is used by most of the top IT mnc(s): https://www.sololearn.com/post/104730/?ref=app
29th Jun 2019, 4:21 PM
Mohan
Mohan - avatar
+ 3
Im re-learning c++ after 15+ years... It still hurts my brain! think future... Embedded systems are slowly moving from c to c++. With a nice stake in ML, AI, and VR... its not going anywhere!
5th Jun 2019, 7:46 PM
Lee Howard
Lee Howard - avatar
+ 3
Yes C++ is a powerful weapon in programming skills. It enhances your coding abilities.
5th Jun 2019, 7:50 PM
Abhishek Dwivedi
Abhishek Dwivedi - avatar
+ 3
I love c++
6th Jun 2019, 9:09 AM
Yun Bunrong
+ 2
of course it is don't listen to any dumb-ass who says its not. its used in making games I think
5th Jun 2019, 3:41 PM
Vasu Chandel
+ 2
Yes. The more you know, the farther you go in life!
5th Jun 2019, 9:51 PM
Wyatt
Wyatt - avatar
+ 2
yes if you want to develop. games, you can code with C++ in Unreal Engine 4 :) Thats one example and the reason why i want to learn it :)
6th Jun 2019, 8:12 AM
Scorpe Raps
Scorpe Raps - avatar
+ 2
Is worth every bit of it but it where you are venturing into you would be more of the guy that write library for other languages or games or embedded systems all those core stuff or to write pretty powerful program that works with hardware iot
6th Jun 2019, 11:36 AM
GeneralZod
GeneralZod - avatar
+ 2
Of course, because C++ will give you some taste of other OOP language and also if you learn C++ then you will get speedy touch in writing codes
6th Jun 2019, 1:35 PM
Anuj Raghu
Anuj Raghu - avatar
+ 1
Thanks!really helped me out
5th Jun 2019, 2:55 AM
ManitB
ManitB - avatar
+ 1
Yes, totally.
5th Jun 2019, 4:27 AM
Talluri Saisumanth
Talluri Saisumanth - avatar
+ 1
I would much more recommend C to learn but C++ is not a bad option.
6th Jun 2019, 4:00 AM
haydenki
haydenki - avatar
+ 1
if you are interested in hardware it is very usefull
6th Jun 2019, 8:07 AM
sree harsha
sree harsha - avatar
0
Yes, do learn C it is not dying anywhere soon. Amna, https://frontdevelopers.com/hire-c-c-developers/
27th Feb 2020, 2:26 PM
Amna
Amna - avatar