Like Tree3Likes
  • 3 Post By grumpy

OOPing is available in several other languages

This is a discussion on OOPing is available in several other languages within the C++ Programming forums, part of the General Programming Boards category; Hi The book I'm using to learn C++ is "Object-Oriented Programming in C++" by Robert Lafore. In the beginning I ...

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    254

    OOPing is available in several other languages

    Hi

    The book I'm using to learn C++ is "Object-Oriented Programming in C++" by Robert Lafore.

    In the beginning I was under the impression OOP is the kind of C++-specific thing. But I think I was false. Perhaps OOPing is available in several other languages. Correct?

    My other question is that what I am learning from the mentioned book, am I learning C++, or only a special feature of C++, i.e. OOP?
    I'm an outright beginner. Using Win XP Pro and Code::Blocks. Be nice to me, please.

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    6,290
    Object oriented analysis and design is independent of programming language. Object oriented programming is more about a way of thinking while programming (mapping object oriented design to code) and is not specific to any programming language. A number of programming languages have particular features that support object oriented programming, in the sense that an object oriented design artefacts can be mapped into particular language constructs. However, object oriented programming can be performed in any programming language (from assembler, up).

    C++ is technically a multi-paradigm language, which means it has features that support programming based on one or more paradigms (a paradigm is conceptual system for describing things, or a particular structure of reasoning and thought processes). One of the paradigms is object orientation. Other paradigms supported by C++ include procedural, imperative, etc. Note that the paradigms can overlap, and they are not mutually exclusive. C++ does not require programming based on any paradigm and, if the programmer wishes, multiple paradigms may be employed in one program. In other words, C++ allows the programmer to mix and match techniques in some pragmatic manner that works for the task at hand.

    Some object-oriented purists and zealots (and advocates of some object oriented languages) will also tell you that C++ is not a "pure" object oriented language, because it does not force the programmer to use object oriented techniques, does not disallow techniques related to other paradigms, and does not support some features that are supported by other object oriented languages. Yet other people criticise C++ because it supports some object oriented techniques (for example, multiple inheritance of implementation) that are specifically excluded by some other languages due to potential of being misused or poorly understood by programmers.
    Inanna, Salem and tabstop like this.
    Right 98% of the time, and don't care about the other 3%.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Languages
    By manutd in forum A Brief History of Cprogramming.com
    Replies: 108
    Last Post: 11-18-2006, 11:21 PM
  2. How many languages
    By jaylc185 in forum C++ Programming
    Replies: 5
    Last Post: 05-24-2005, 02:58 AM
  3. Web Languages
    By Vicious in forum Tech Board
    Replies: 21
    Last Post: 09-07-2004, 08:27 PM
  4. what languages are fading ? what languages remain ?
    By dot_rain in forum Tech Board
    Replies: 32
    Last Post: 03-04-2004, 08:25 AM
  5. Rap in different languages
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 06-23-2003, 07:09 AM

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