C++ as OOP language

B

BDob

Why people say that C++ as an OOP language has a tight coupling of type and
function?

Why C++, compared to C, is flexible and handle changes better?
 
V

Victor Bazarov

BDob said:
Why people say that C++ as an OOP language has a tight coupling of type and
function?

Why C++, compared to C, is flexible and handle changes better?

I know, I know! Because it was designed that way. Of course,
there are probably other answers to those questions...
 
J

Jack Klein

Why people say that C++ as an OOP language has a tight coupling of type and
function?

What people? Who are these people? What are their credentials to
indicate that we should believe what they say?
Why C++, compared to C, is flexible and handle changes better?

The typical large C program has 100,000 lines of code but there is
only a single character in the name of the language, so the ratio is
100,000 lines of code per character.

The typical large C++ program has 150,000 lines of code but there are
three characters in "C++", so the ratio is only 50,000 lines of code
per language name character.

Obviously, with twice as many lined of code per character, C is
stiffer and less flexible.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
 
P

Peter Koch Larsen

Jack Klein said:
What people? Who are these people? What are their credentials to
indicate that we should believe what they say?


The typical large C program has 100,000 lines of code but there is
only a single character in the name of the language, so the ratio is
100,000 lines of code per character.

The typical large C++ program has 150,000 lines of code but there are
three characters in "C++", so the ratio is only 50,000 lines of code
per language name character.

Obviously, with twice as many lined of code per character, C is
stiffer and less flexible.

Which is why it is sad it was not called "C-with-classes". ;-)

/Peter
 
G

Gene Wirchenko

"Jack Klein" <[email protected]> skrev i en meddelelse

[snip]
Obviously, with twice as many lined of code per character, C is
stiffer and less flexible.

Which is why it is sad it was not called "C-with-classes". ;-)

Even if it were, it would still lose out badly to
COBOL-POST-INCREMENTED-BY-ONE.

Sincerelyk,

Gene Wirchenko
 
C

Chris Mantoulidis

Jack Klein said:
What people? Who are these people? What are their credentials to
indicate that we should believe what they say?

maybe those people have just read books on C++ and never programmed in
it ;)
The typical large C program has 100,000 lines of code but there is
only a single character in the name of the language, so the ratio is
100,000 lines of code per character.

The typical large C++ program has 150,000 lines of code but there are
three characters in "C++", so the ratio is only 50,000 lines of code
per language name character.

Obviously, with twice as many lined of code per character, C is
stiffer and less flexible.

haha.... That's a totally weird but clever way to prove that C++ is a
great programming language.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top