Hacker News new | ask | show | jobs
by zaarn 1843 days ago
I think you severely overestimate how many C++ professional developers exist in the real world. You're likely outnumbered 3:1 by Web Developers or Python Developers already.

According to the StackOverflow survey, C++ is at 25% popularity (which btw means C++ barely misses being in the Top 10 and fails to outdo PHP) and Rust is at 5%. If you restrict this to professional coders, then C++ falls to 20% popularity and Rust is at 4%, so roughly the same difference; 5 coders saying they use C++, 1 coder saying they use Rust.

Now in the same survey, people could also rank languages into loved/wanted/dreaded. In this section Rust has been the top loved language for 5 years straight (80%~), and C++ usually only breaks the top 10 in the dreaded category.

That means that for every coder that says they love C++, there is two coders saying the love Rust more.

That there is hundreds picking up C++ over everyone picking up Rust is a dream fantasy of someone stuck in the 2010s.

1 comments

Are you familiar with the concept of selection bias? Citing an online survey suggests not.

The great majority of C++ users probably do not look at StackOverflow, never mind participate in its surveys. (I don't.) It is possible the majority have never even heard of it. The principle online reference for C++ coders is cppreference.com.

You do not need to love C++ to earn your living with it: it is known to work. Objectively, there are, literally, millions of C++ professionals. More retire every year than the total of working Rust coders. That will change, eventually, if Rust catches on.

>Are you familiar with the concept of selection bias?

Yup

>The great majority of C++ users probably do not look at StackOverflow,

That I would like to see a citation for. The plural of "personal anecdote" isn't "proof".

>You do not need to love C++ to earn your living with it: it is known to work.

Did I claim otherwise?

> Objectively, there are, literally, millions of C++ professionals.

Citation needed.

> More retire every year than the total of working Rust coders

Citation needed.

I encourage you to perform your own research. Citing hipster surveys on a beginners' help site has not earned you a passing grade.
Atleast I cited data (there is no reason to sling insults towards the data either). If I'm so wrong, it should be easy to disprove with less biased data from a "professional non-hipster website".

It is not my task in life to disprove my own opinions formed from available data either. If you want to change minds, don't ask others to "do the research yourself", that's just rude.

You personally demonstrate the need to discount actively-misleading data. What's next, Tiobe? If you don't check your own fond biases, who do you expect to perform the service for you? "Strangers on HN, for free", really?

Minds are responsible for their own evolution. Clues are taken or ignored according to personal preference.

You wrote it yourself, Clues taken.

You haven't delivered clues, only anecdotes.

And in terms of my own biases, I only want a solid study with a decent sample size (~5000 shouldn't be an issue on this topic)

"Principal", not "principle". I complain about this mistake when others make it.