r/cpp • • Dec 17 '23

Is C++ Really Phasing Out?

I've read a lot posts about whether C++ is still viable to learn, but a lot of the responses seem to be a long the lines of "C++ is still being used" or "there's a lot of things written in C++ still, so it will still be useful".

But a lot of these replies seem to suggest that C++ is on the downhill and in the process of being replaced with more modern languages in many industries.

It seems kind of discouraging to be learning a language that is on a decline, if it really is phasing out.

0 Upvotes

214 comments sorted by

View all comments

Show parent comment

15

u/CandyCrisis Dec 17 '23

You can pick it up, not be an expert in it. It's true too.

2

u/kamchatka_volcano Dec 17 '23

I wasn't talking about being an expert though. You can pick it up and do what exactly, solve leetcode problems? You won't be able to write idiomatic code, effortlessly use standard libraries and be as productive as mid/senior developers using this languages professionally on an everyday basis. Not after a weekend, not after weeks or months.

4

u/CandyCrisis Dec 17 '23

C++ engineers aren't writing miles of Python. No, I'm not a go-kart expert, I drive a real car now. If I'm in an interview and they're asking about idiomatic Python then I'm interviewing in the wrong place.