Link to home
Start Free TrialLog in
Avatar of fishmanfishman
fishmanfishman

asked on

What is object based programming?

I know what object oriented programming is as i have reserched it but object based programming is hard to find in depth answers on the net? Any comments or links?
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Check out these documents:

  http://faculty.juniata.edu/rhodes/smui/obp.htm

  http://www.programmersheaven.com/articles/userArticles/wim/Objectbasedprogramming20040228version.pdf

The second document contains a COBOL example.

________________

  Nayer Naguib
object oriented programming? You can code everything as an object. Just like what you see in the real world.

ok. i start with simple things:
Basically there ard 5 categories of programming Paradigms:

1. Imperative.
-Statement oriented languages
-Every statement changes the machine state
-Computation is expressed by a sequence of actions.
-Heavily based on von Neumann architecture
-Provides variables, assignments, and iterative repetitions.
Examples:  Fortran,  C

2. Declarative
-Problem specification using relations or functions.
-Functional programming (applying functions to given parameters).
-Logic programming (deductive reasoning, rule based)
Examples:  LISP, ML, Haskell, Prolog

3. Object Oriented
-Based on the concept of data abstraction.
-Uses encapsulation (data hiding)
-Supports inheritance (software reuse)
-Suitable for programming in the large.
Examples:  C++, Java, Smalltalk, Eiffel

4. Concurrent
-Parallel execution of processes.
-Multi-tasking or multi-threading primitives.
-Inter process communication and synchronization.
-Helps in speeding up the execution of parallel algorithms
Examples: Concurrent C, Java, Fortran-90

5. Scripting
-Contains a set of commands (scripts) to be executed.
-Works in conjunction with a larger application, or are interpreted.
Examples:  Perl, Javascript,shell
Object oriented is one kind of the programming Paradigms.

we can include OOP into object based:
In computer science, Object-based has two different, non compatible, senses:
A) A limited version of object-oriented programming where one or more of the following restrictions applies:
there is no implicit inheritance
there is no polymorphism
only a very reduced subset of the available values are objects (typically the GUI components)
B) Prototype-based systems (i.e., those based on "prototype" objects which are not instances of any class)

please refer:
http://en.wikipedia.org/wiki/Object-based_programming
http://portal.acm.org/citation.cfm?id=67448&coll=portal&dl=ACM
ASKER CERTIFIED SOLUTION
Avatar of Arthur_Wood
Arthur_Wood
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial