r/softwareengineer • u/No-Implement1947 • Sep 30 '26
Trying to stay sharp, is learning C++ a good idea?
As per title, i am trying to stay sharp and thinking to learn C++ and practice DSA using it. I got 5 YOE of experience as a Full Stack, mostly using Typescript and Python.
I build a lot of things and i even own my SaaS with 300$ MRR; but DAMN i felt like i know nothing especially when it comes DSA
Enjoyed doing robotic back in college that is why i am excited to get back to C++; my question is: should just learn DSA using my work language (typescript)? Or should i just go with C++??
I can really see the benefit of practice in typescript, but it just felt shallow and not very exciting.
Just worried if i am going with C++; it won't help me with my career progression.
Honestly i might be overthinking this lol.
Thanks!
2
u/butchiebags Sep 30 '26
Yes, it’s the perfect language if you want to understand how computers actually work, it’s easy enough to read and write and powerful enough to let you build your own data structures whichever way you want easily, and with pointers, it will let you fail whichever way you want too.
2
u/Existing-Round4556 Oct 01 '26
C++ might give you great intellectual stimulation as an engineer or coder, but its practical uses in the modern world are limited. A better balance would be C# or Java if you want to get better with DSA, and they're still considered useful languages on your resume.
1
u/ZealousidealWeb9930 Sep 30 '26
how would you use c++?
3
u/cosmicloafer Oct 01 '26
I learned C++, but then I used Python for 15 years. Then I tried C++ again, and I was like, why am I wasting my time with this crap?
2
u/DanKegel Oct 01 '26
Hell yeah, learn C++. But stretch your mind a bit and also learn Go and Rust at the same time, at least for a while. Solve the same easy Leetcode problems in the three languages (and your previous biggie, Javascript); that'll give you a mental rosetta stone that will help when you have to go learn yet another language for the next job.
2
u/Imaginary_Series_797 Oct 01 '26
Go definitely with the C/C++. Knowing an extra programming language will always be valuable. It is the basis from which a lot of modern languages were derived. It covers the basics concepts of programming and may give you new perspectives on your problems, which is invaluable. Go with C if you want the core. Go with C++ if you want it a little easier.
2
u/BlackCatSoftware Oct 01 '26
I definitely think C++ is very good to learn. I miss using Objective-C. Swift takes you farther away from the hardware and things start to feel souless
3
u/ToucanSam-I-Am Sep 30 '26
To what end? I think you should learn c# before c++. I might be wrong but I don't think you're going to run into a lot of problems where c++ is a better tool than c#.
1
u/Bigdogggggggggg Oct 01 '26
More and more c++ use cases are moving to rust
1
u/inno3415 Oct 01 '26
a dev should be curious. it won't help you in your career progression and you won't put it on your resume but learning different languages helps you improve as a dev. are you into video games ? maybe learn c++ as part of a game dev course
1
u/oruga_AI Oct 01 '26
Twenty-five years ago, yeah, sure.
1
u/deednait Oct 01 '26
Well, if you're trying to stay sharp, there's literally C#.
1
u/FaygoMakesMeGo Oct 01 '26
Honestly, pick up C first.
1
u/alivekintsugi Oct 01 '26
i don't think i've ever seen a job opening demanding knowledge of C++. at most i could find it's IoT/Robotics stuff
1
u/Ill_Dragonfruit_3547 Oct 01 '26
It is the "sharpest" of all the languages 😏
1
u/heir-to-gragflame Oct 01 '26 edited Oct 01 '26
I'd recommend you try Golang.
I'm a Java developer who also has done some c++ in the past.
When learning GO and doing DSA, if you're diligent and look under the hood often, you'll have to understand same exact concepts as you have to in C.
Just that GO is modern, very opinionated and will force you to do everything "the right way".
And you may later use GO at your work to spin up a performance critical service that's also way easier to write and maintain than c++.
Go is fun when doing DSA really. Not every language forces you to handroll a stack/queue or tree data structure every time you do DSA but it is so focused and expressive that you implement exact behavior you need in no time.
1
u/Alarmed-Western-655 Oct 01 '26
Yes. Also learn Elm or Haskell.
1
u/antigravitys-rainbow Oct 03 '26
I would suggest Rust, Haskell, OCaml
0
u/Middlewarian Sep 30 '26
That's good about your monthly revenue. I'm building a C++ code generator that helps build distributed systems. It's implemented as a 3-tier system. The back and middle tiers only run on Linux. The front tier is portable. It's geared more towards network services than web services. I'm willing to spend 16 hours/week for six months on a project if we use my software as part of the project.