Researching C++ - Your Opinions Wanted Here!

This is a discussion on Researching C++ - Your Opinions Wanted Here! within the C++ Programming forums, part of the General Programming Boards category; Hello. I'm currently taking a computer science course and I'm doing a little research paper about C++. I honestly don't ...

  1. #1
    Registered User
    Join Date
    Nov 2012
    Posts
    1

    Researching C++ - Your Opinions Wanted Here!

    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. 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.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,341
    - What do you think is the most substantial programming contribution, or "claim-to-fame", created through C++?
    Good: Standard libraries like STL which promote code re-use.
    Bad: It's too damn big as a language to reasonably know all of it. So when someone says they know C++, you're left wondering exactly what their favourite subset is.

    The following aphorism applies:
    In C it's fairly easy to "shoot yourself in the foot".
    In C++ it's harder to shoot yourself in the foot, but when you do, you usually blow your whole leg off.
    Writing a successful program begins long before you get to typing "int main" in the first source file. If you don't understand what you want (requirements), or how to do it (design), then the code (implementation) will be rubbish. The problem for C++ is it insulates you from this reality to some extent, allowing you to create larger programs without knowing what you're doing. So when the mistake is realised, the hole is that much deeper.

    - What is it about C++ code that you like the most? (I'm fishing for code snippets here).
    This forum is over a decade old - 1000's of snippets (good, bad, ugly) abound.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    What is it about C++ code that you like the most?
    const-correctness. The feature I miss the most when programming in non-C/C++ languages.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Storing position/velocity of agents -- opinions wanted
    By Ocifer in forum C++ Programming
    Replies: 11
    Last Post: 02-03-2012, 03:06 PM
  2. Expert opinions wanted!
    By MK27 in forum Linux Programming
    Replies: 8
    Last Post: 11-01-2011, 10:14 AM
  3. NT Service - researching...
    By schu777 in forum Windows Programming
    Replies: 3
    Last Post: 03-25-2002, 01:58 PM
  4. Opinions Wanted
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 03-04-2002, 08:56 AM
  5. Opinions
    By Betazep in forum C++ Programming
    Replies: 1
    Last Post: 12-15-2001, 02:34 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21