What is object based programming?

Posted on 2005-04-11
Medium Priority
Last Modified: 2013-11-25
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?
Question by:fishmanfishman
LVL 53

Expert Comment

ID: 13752858
LVL 14

Expert Comment

ID: 13752928
Check out these documents:



The second document contains a COBOL example.


  Nayer Naguib

Expert Comment

ID: 13754603
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

Expert Comment

ID: 13754693
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:
LVL 44

Accepted Solution

Arthur_Wood earned 500 total points
ID: 13755002
the term object-BASED programming (as opposed to Object ORIENTED programming) has been applied to VB 6, and other languages which make use of SOME but not ALL of the Object model paradigm.

VB 6 allows you to use Objects (instance of Classes), but does not conform to the complete Object Oriented paradigm.  In VB6 there was a limited form of INHERITANCE ( called Interface Inheritance), which did NOT permit inheriting CODE from the base class, but DID allow inheriting the INTERFACE of the base class - that is the so-called public signature (the names and types of the Public Properties and Methods - but not the underlying code that supported these elements).  Also, VB6 did not support any type of 'overloading', where there can be several versions of s Method in a class, distinguished by the specific arguments used to call the method -

so, in a true OO language, you might have an Account class, and you might have an AddAccount method which might be present in several forms:

AddAccount(UserID as Long, AccountType as Integer) create a new account with a 0 balance
AddAccount(UserID as Long, AccountType as Integer, NewBalance as Double)  create a new account with a non-0 balanace

VB 6 would NOT allow you to have 2 methods with the same NAME (the arguments were not considered), where a true OO language would be able to distingush between the two ,based on the list of arguments, at run-time


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Screencast - Getting to Know the Pipeline

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question