As of May 31, 2023, we have updated our Code of Conduct.
Tyler Durden's user avatar
Tyler Durden's user avatar
Tyler Durden's user avatar
Tyler Durden
  • Member for 9 years, 8 months
  • Last seen more than a week ago
  • Cambridge, Massachusetts
Stats
5,321
reputation
610k
reached
16
answers
159
questions
Loading…
About

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

15
gold badges
55
silver badges
92
bronze badges
5
Score
17
Posts
10
Posts %
1
Score
33
Posts
19
Posts %
1
Score
7
Posts
4
Posts %
0
Score
14
Posts
8
Posts %
0
Score
11
Posts
6
Posts %
0
Score
10
Posts
6
Posts %
Top posts
View all questions and answers