LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-05-2002, 03:17 PM   #1
boku
Member
 
Registered: Aug 2002
Location: Sweden
Distribution: Gentoo
Posts: 43

Rep: Reputation: 15
Arrow C vs C++ perplexity


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

Yet, OOP intercessors' arguments seem so doubtless.
 
Old 08-05-2002, 04:41 PM   #2
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xfce perplexity ;) (magically disappears?!?!) itsjustme Slackware 2 04-24-2005 04:17 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration