Solved

Object oriented programming and object based programming

Posted on 2000-03-12
7
293 Views
Last Modified: 2010-04-02
What is the difference between the object oriented programming and object based programming?
0
Comment
Question by:maheshhatolkar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 2609336
Nothing.
0
 
LVL 32

Expert Comment

by:jhance
ID: 2609374
I'd say in general they are two terms for the same thing.  Depending on the circumstances, however, there may be a slight difference:

Object Oriented Programming in my mind is like C++.  C++ is a object oriented language but it is entirely possible to write C++ code that has objects or no objects.  In other words, objects are not required to use the language.  Now I know some purist will say that C++ makes ALL language elements (like int, char, float, etc) objects but this is really thin.

Object Based is more rigorous.  Take Java.  It's impossible to write a Java program without using objects.  Everything is an object.  Another example is COM programming.  In COM, you deal with objects, and hooking them together.

Just my opinion, your results may vary...
0
 
LVL 22

Expert Comment

by:nietod
ID: 2609420
But the term "Object Oriented Programming" is used to describe programming in languages like Java where you must use objects.  While logical, I really don't think that is a recognized difference between the two terms.  The most significant difference is their spellings.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:Wyn
ID: 2609713
->the object oriented programming and object based programming?
===========================
I do not know.

0
 
LVL 5

Expert Comment

by:yonat
ID: 2610878
Some people refer to languages that support objects but not inheritence as "object based".
0
 
LVL 2

Accepted Solution

by:
gurpreets earned 50 total points
ID: 2611168
I object based programming, you can just use the classes which have been defined in the language. You can define / declare your own classes. For eg., Java script.

In object oriented programming you can use the language defined classes and you can declare / define your own classes also. For eg., C++ , Java.

0
 
LVL 5

Expert Comment

by:mbormann
ID: 2611841
I think that yonat is right ,in that
You can't use inheritance in Object based languages.

gurpreets,
Probably meant to say
>>>I object based programming, you can just use the classes which have been defined in the language. You can define / declare your own classes. For eg., Java script.

In object based programming, you can just use the classes which have been defined in the language. You CAN'T define / declare your own classes. For eg., Java script.

I do think that older versions of VB were OB now newer versions are OO.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

691 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