Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.
1,693
reputation
4
25
51

Tyler Durden

Quite frankly, even if the choice of C were to do nothing but keep the C++ programmers out, that in itself would be a huge reason to use C. In other words: the choice of C is the only sane choice. I know Miles Bader jokingly said "to piss you off", but it's actually true. I've come to the conclusion that any programmer that would prefer the project to be in C++ over C is likely a programmer that I really would prefer to piss off, so that he doesn't come and screw up any project I'm involved with.

The only way to do good, efficient, and system-level and portable C++ ends up to limit yourself to all the things that are basically available in C. And limiting your project to C means that people don't screw that up, and also means that you get a lot of programmers that do actually understand low-level issues and don't screw things up with any idiotic "object model" crap.

So I'm sorry, but for something like git, where efficiency was a primary objective, the "advantages" of C++ is just a huge mistake. The fact that we also piss off people who cannot see that is just a big additional advantage.

-- Linus Torvalds

10
answers
121
questions
~183k
people reached
  • Cambridge, Massachusetts
  • Member for 5 years, 7 months
  • 200 profile views
  • Last seen Apr 13 at 9:21

Top Tags (147)

Score 5
Posts 16
Posts % 12
Score 1
Posts 5
Score 0
Posts 14
Score 0
Posts 14
Score 0
Posts 7
Score 0
Posts 6

Top Posts (131) All Questions Answers | Votes Newest

View all questions and answers

Badges (80)

Gold

4

Rarest

Silver

25

Rarest

Bronze

51

Rarest