This is an interesting subject.
C ++ includes the C language and is an extension of the C language.
Nevertheless, there are many projects that use C ++ and C mixed together.
Here you may suspect the difference between the two.
Linus Torvalds refuted the claim to use C ++ for scalability.
The contents are as follows.
"When I first looked at Git source code two things struck me as odd:
1. Pure C as opposed to C++. No idea why. Please don't talk about portability,
it's BS."
"You are full of bullshit."
"C++ is a horrible language. It's made more horrible by the fact that a lot
of substandard programmers use it, to the point where it's much much
easier to generate total and utter crap with it. 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."
It's a pretty strong tone.
Torvalds is angry about the complexity of C++.
C ++ is an object-oriented language and C is a procedural language.
Therefore, C ++ adds complexity for objects.
However, object orientation is a trend these days.
Therefore, C ++ and C languages must be well distinguished for their purpose.
For example, kernel development is difficult with C ++.
However, it is easy to develop a kernel in C.
Separately, most programs are written in C ++ for easy maintenance.
Which program do you develop?
0 Comments