10 Replies - 2139 Views - Last Post: 20 November 2012 - 01:34 PM

#1 McCrockett  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 4
  • Joined: 08-November 12

Researching C++ - Your Opinions Wanted Here!

Posted 08 November 2012 - 04:56 AM

Hello. I'm currently taking a computer science course and I'm doing a little research paper about C++. I honestly don't know C++ too well yet. But I have a few questions that I would like to ask and feel free to post your opinions. I hope this is the right forum for this type of discussion. Here's the questions:

- What do you think is the most substantial programming contribution, or "claim-to-fame", created through C++?
- What is it about C++ code that you like the most? (I'm fishing for code snippets here).

Thank you for your help.

Is This A Good Question/Topic? 0
  • +

Replies To: Researching C++ - Your Opinions Wanted Here!

#2 marty617  Icon User is offline

  • New D.I.C Head

Reputation: 7
  • View blog
  • Posts: 33
  • Joined: 14-October 12

Re: Researching C++ - Your Opinions Wanted Here!

Posted 08 November 2012 - 05:59 AM

One of the original design goals of Dennis Ritchie was to create a language with minimal translation from high level language to machine instructions. After all, he was an operating system developer. This has always been C's greatest strength. Stroustrup wrapped some organization around that without interfering with the high correlation between language and machine instruction in creating C++.

In my opinion this is C/C++'s greatest strength.
Was This Post Helpful? 0
  • +
  • -

#3 ishkabible  Icon User is offline

  • spelling expret
  • member icon




Reputation: 1622
  • View blog
  • Posts: 5,709
  • Joined: 03-August 09

Re: Researching C++ - Your Opinions Wanted Here!

Posted 08 November 2012 - 11:18 AM

C++'s main goal as I see it is to provide "zero cost abstractions" meaning that it gives you the tools to create high level abstractions and interfaces but also gives you the control to do with minimal overhead. things like templates, polymorphism, function overloading, RAII(destructors and such), exceptions, and RTTI(I don't actually like that last 2 all that much) give the ability to create the abstractions while the low level C like simplicity and semantics plus compile time computation gives all the control to do it in an optimal way.
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9088
  • View blog
  • Posts: 34,139
  • Joined: 12-June 08

Re: Researching C++ - Your Opinions Wanted Here!

Posted 08 November 2012 - 11:22 AM

Did someone say code snippets?
Was This Post Helpful? 0
  • +
  • -

#5 NecroWinter  Icon User is offline

  • D.I.C Regular

Reputation: 35
  • View blog
  • Posts: 318
  • Joined: 21-October 11

Re: Researching C++ - Your Opinions Wanted Here!

Posted 18 November 2012 - 12:13 PM

View PostMcCrockett, on 08 November 2012 - 04:56 AM, said:

Hello. I'm currently taking a computer science course and I'm doing a little research paper about C++. I honestly don't know C++ too well yet. But I have a few questions that I would like to ask and feel free to post your opinions. I hope this is the right forum for this type of discussion. Here's the questions:

- What do you think is the most substantial programming contribution, or "claim-to-fame", created through C++?
- What is it about C++ code that you like the most? (I'm fishing for code snippets here).

Thank you for your help.


1) I dont know if its the first object oriented programming language, but it was definitely a pioneer, it took c syntax which I find to be very good, and added objects

2) the syntax. After taking a COBOL and RPG IV class, ive really come to appreciate it.
Was This Post Helpful? 0
  • +
  • -

#6 ishkabible  Icon User is offline

  • spelling expret
  • member icon




Reputation: 1622
  • View blog
  • Posts: 5,709
  • Joined: 03-August 09

Re: Researching C++ - Your Opinions Wanted Here!

Posted 18 November 2012 - 11:25 PM

it's not the first object oriented language nor is it actually an object oriented language(although that was the idea of C with classes). It drew from the language Simula for it's object orientation which was influenced by smalltalk(I believe smalltalk was the first object oriented language). C with classes was perhaps the 3rd(simula was perhaps the 2nd) or close to it but modern C++ has moved away from that kind of object orientation and moved on to new things that incorporate the features of objects and polymorphism with other abstractions. if OOP is a good abstraction, it is used. when it's not or when features of it just help its either not used or just a part of a totally different idea. the key is really learning to use it the OOP side of C++ with the generic programming side and the low level C side all together.
Was This Post Helpful? 1
  • +
  • -

#7 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7644
  • View blog
  • Posts: 12,892
  • Joined: 19-March 11

Re: Researching C++ - Your Opinions Wanted Here!

Posted 18 November 2012 - 11:33 PM

There are those who would claim that the biggest contribution to programming languages made by C++ was to give James Gosling a good set of mistakes to correct when he created Java.
And if we're going to be honest, the next thing you have to point out is that Gosling himself has said the most important thing about Java is not Java the language, but the JVM.
And since C's big advantage over other languages was intended to be portability, there's a nice symmetry there.
So there's your think piece, all wrapped up with a bow for you.
Was This Post Helpful? 0
  • +
  • -

#8 ishkabible  Icon User is offline

  • spelling expret
  • member icon




Reputation: 1622
  • View blog
  • Posts: 5,709
  • Joined: 03-August 09

Re: Researching C++ - Your Opinions Wanted Here!

Posted 19 November 2012 - 08:54 PM

well those people are wrong :P they are two different langues, two totally different languages. C++ is a systems language while Java is an applications language. people need to stop comparing them
Was This Post Helpful? 0
  • +
  • -

#9 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7644
  • View blog
  • Posts: 12,892
  • Joined: 19-March 11

Re: Researching C++ - Your Opinions Wanted Here!

Posted 19 November 2012 - 09:18 PM

C++ was an applications language in 1995... Why do you think it's seen as only a systems language today?
Was This Post Helpful? 0
  • +
  • -

#10 ishkabible  Icon User is offline

  • spelling expret
  • member icon




Reputation: 1622
  • View blog
  • Posts: 5,709
  • Joined: 03-August 09

Re: Researching C++ - Your Opinions Wanted Here!

Posted 20 November 2012 - 01:26 PM

Because it's not as well suited for it compared to Java or C#. So yes there are some truths to it but even in the 98 standard and in earlier books Bjarne said it had a bias toward systems programming so even then it wasn't entirely an applications language; at least that wasn't entirely the intention.

C++ definitely still has the market on applications that require speed and/or lower level developmental. This is easily seen the games industry, server and client systems that cost more to run than to develop, and other lower level applications. Of course I'd say C probably has the market on low level systems programming and embedded applications but C++ also has it's place there too. Also back in the day when C++ was more of an applications language that was because many of the issues we face today only in systems dev were still an issue in many kinds of development.

all this said, Java seems like a better applications language, especially for today's challenges hence you only see C++ primarily in systems development.
Was This Post Helpful? 0
  • +
  • -

#11 AnalyticLunatic  Icon User is offline

  • D.I.C Lover

Reputation: 221
  • View blog
  • Posts: 1,030
  • Joined: 25-June 12

Re: Researching C++ - Your Opinions Wanted Here!

Posted 20 November 2012 - 01:34 PM

View PostNecroWinter, on 18 November 2012 - 12:13 PM, said:

After taking a COBOL and RPG IV class, ive really come to appreciate it.


Really? You don't say?! ^^
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1