user avatar
user avatar
user avatar
Tyler Durden
  • Member for 8 years, 8 months
  • Last seen this week
  • Cambridge, Massachusetts
Stats
5,331
reputation
490k
reached
14
answers
155
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

11
gold badges
50
silver badges
79
bronze badges
5
Score
16
Posts
9
Posts %
1
Score
7
Posts
4
Posts %
0
Score
29
Posts
17
Posts %
0
Score
14
Posts
8
Posts %
0
Score
13
Posts
8
Posts %
0
Score
10
Posts
6
Posts %
Top posts
View all questions and answers