The opposite of OOP?

oopparadigms

I started in High School learning java and python and I guess I just always learned OOP and nothing else my question is What are the other programming paradigms or types of programming languages beside OOP?

Best Answer

"Opposite" isn't really a good way of putting it. What's the "opposite" of Democracy? OOP is a a paradigm -- a way of viewing the problem of programming.

The four main coding paradigms are:

  1. functional (viewing programs as mathematical formulas)
  2. imperative (programs are series of instructions for the computer)
  3. logical (model information and the relationship between that information), and
  4. OOP (Model objects and how it interacts with other data)

http://www.cs.aau.dk/~normark/prog3-03/html/notes/paradigms_themes-paradigm-overview-section.html#paradigms_logic-paradigm-overview_title_1

Logical is the most different by far and you have to jump through a lot of hoops to solve some problems in logical programming. The other three all solve the same problems, but the approaches are different.