LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   C vs C++ perplexity (https://www.linuxquestions.org/questions/programming-9/c-vs-c-perplexity-27262/)

boku 08-05-2002 03:17 PM

C vs C++ perplexity
 
Even in larger programs, why is C more common than C++?

Yet, OOP intercessors' arguments seem so doubtless.

webtoe 08-05-2002 04:41 PM

Firstly C is older than C++ so it was learned before C++. Because of this many seasoned programmers wrote their progs in C++ and then when other programmers came along they just kept the program in C. If it isn't broken, why fix it?

Plus C++ is not quite like C. So for doing very low level stuff C is still the better option. C++ also is so big and complicated that C often seems easier to use than C++.

And you can still program C in a OOP way. It just wasn't designed with it in mind.

Alex


All times are GMT -5. The time now is 05:05 AM.