Hacker News new | ask | show | jobs
by octopus 5211 days ago
Is C++ usage on the decline?

No it is not. C++11 is a modern programming language that lets you harness every bit of power from your computer.

From a productivity point of view I think Java and C# are as verbose as modern C++. In the end it really depends on what kind of application you develop, for web development you can be a few orders of magnitude more productive than in C++ if you use Python or Ruby. For number crunching nothing beats Fortran.

You should chose your tools (programming language, compiler, OS etc.) based on what you know and on the application domain.

1 comments

I wasn't suggesting that that C++ is somehow outdated or inferior. I'm just wondering if the percent usage of C++ is declining with respect to other languages.

I'm trying to estimate the chance that me not knowing C++ will pose a problem later in my career. I normally pick up languages quickly, but the C++ learning curve seems a bit steeper, both in terms of language nuances and libraries. So my normal approach of "wait until I need it" may not work that well.

This is a difficult question. If the number of C++ developers is growing, but at a slower rate than the number of total developers, is that a decline?
What are the classes of problems that interest you? What is the standing of C++ in the communities involved in solving these problems? For example, if you are interested in HPC, graphics programming or systems programming, and would like to pursue these areas professionally, then not knowing C++ may pose a problem.