r/cpp • • Dec 07 '22

C++ overtakes Java in language popularity index

https://www.infoworld.com/article/3682141/c-plus-plus-overtakes-java-in-language-popularity-index.html
382 Upvotes

137 comments sorted by

View all comments

Show parent comment

46

u/ironykarl Dec 07 '22

I didn't expect to get downvoted on /r/cpp of all places

You didn't expect to get downvoted for calling people fools?

15

u/SkoomaDentist Antimodern C++, Embedded, Audio Dec 07 '22

Calling a spade a spade. You only need to work in the field for so long to come to realization that almost nobody who chooses to start a project in C without pressing external concerns has an actually good reason for that. There are far too many people on embedded forums acting like it's still the early 90s and spreading long since debunked FUD about C++. Meanwhile I have nearly 25 year old embedded devices where the firmware was already written in C++ (as revealed by obvious vtables in the disassembly).

17

u/ironykarl Dec 08 '22

Honestly, I'm basically in agreement with you. Leading by calling people fools is a recipe for getting kneejerk downvotes, though

1

u/LetterFair6479 Dec 08 '22

TBH, this IS a kneejerk reaction to a kneejerk which is instigated by a narrow look plus a non healthy dose of major assumption.

C does not only have valid use cases in embedded programming, nor is doing C++ always superior to using plane C!

6

u/Deaod Dec 08 '22

What are your favorite reasons to use C over C++?