Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,320 members, 7,819,100 topics. Date: Monday, 06 May 2024 at 11:10 AM

Object Oriented Program: What Does It Really Mean? - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Object Oriented Program: What Does It Really Mean? (1428 Views)

Javascript Object-oriented Programming In 8mins / Learn Object Oriented Programming (OOP) AT SANDCROFT SOFTWARE / Learn - PHP Object Oriented Programming Fundamental - Tutsplus (video Tutorials) (2) (3) (4)

(1) (Reply) (Go Down)

Object Oriented Program: What Does It Really Mean? by fromnigeria(m): 7:48am On Aug 29, 2016
My search over the internet for a more friendly and comprehensive explanation of the above term has not yielded any good help.

Experienced Programmers, Whats your down to earth explanation of the concept?
Re: Object Oriented Program: What Does It Really Mean? by talk2hb1(m): 8:45am On Aug 29, 2016
fromnigeria:
My search over the internet for a more friendly and comprehensive explanation of the above term has not yielded any good help.

Experienced Programmers, Whats your down to earth explanation of the concept?
Before I answer your question,
What your own understanding about object oriented programming?
Re: Object Oriented Program: What Does It Really Mean? by fromnigeria(m): 8:51am On Aug 29, 2016
talk2hb1:
Before I answer your question, What your own understanding about object oriented programming?
No really real good understanding for now they talk about methods classes and all that
Re: Object Oriented Program: What Does It Really Mean? by talk2hb1(m): 9:10am On Aug 29, 2016
fromnigeria:

No really real good understanding for now
they talk about methods classes and all that
This is Monday morning, I will reply you later in the day
Re: Object Oriented Program: What Does It Really Mean? by fromnigeria(m): 10:40am On Aug 29, 2016
talk2hb1:
This is Monday morning, I will reply you later in the day
alright sir
Re: Object Oriented Program: What Does It Really Mean? by Nobody: 11:03am On Aug 29, 2016
object oriented programming is a style or “way” of programming, it is like is a way of thinking on how to solve a problem. Firstly you must know that programs are divided into data and functions, eg a simple game having sprite images(data) and functions directing how the sprite images will move in the game world when some buttons are pressed, in oop data and functions(methods) are combined into a class which acts as templates(or a plan on how the data will change/behave when the program is running) for objects which are classes brought to live. Combinations of these data and functions can affect Code Reuse and Recycling amongst other things.

Quoting Steve Jobs from the rolling stone interview:

Would you explain, in simple terms, exactly what object-oriented software is?

"Objects are like people. They're living, breathing things that have knowledge inside them about how to do things and have memory inside them so they can remember things. And rather than interacting with them at a very low level, you interact with them at a very high level of abstraction, like we're doing right here.
Here's an example: If I'm your laundry object, you can give me your dirty clothes and send me a message that says, "Can you get my clothes laundered, please." I happen to know where the best laundry place in San Francisco is. And I speak English, and I have dollars in my pockets. So I go out and hail a taxicab and tell the driver to take me to this place in San Francisco. I go get your clothes laundered, I jump back in the cab, I get back here. I give you your clean clothes and say, "Here are your clean clothes."
You have no idea how I did that. You have no knowledge of the laundry place. Maybe you speak French, and you can't even hail a taxi. You can't pay for one, you don't have dollars in your pocket. Yet I knew how to do all of that. And you didn't have to know any of it. All that complexity was hidden inside of me, and we were able to interact at a very high level of abstraction. That's what objects are. They encapsulate complexity, and the interfaces to that complexity are high level."

1 Like

Re: Object Oriented Program: What Does It Really Mean? by Nobody: 11:31am On Aug 29, 2016
Normal Programing->
#A simple program for info about three nairaland employees.
Employee1_name=”fromnigeria”;
Employee1_age= 22;
Employee1_salary=150000;
Employee2_name=”badyear”;
Employee2_age=26;
Employee2_salary=200000;
Employee3_name=”buhari”;
Employee3_age=30
Employee3_salary=400000;


Object Oriented Programing->
#A simple object oriented program for info about three nairaland employees.
Class Employees{
Char name;
Int age;
Int salary;
}
Employee1=Employees(“fromnigeria”,22 , 150000);
Employee2=Employees(“badyear”,26,200000);
Employee3=Employees(“buhari”,30,400000);

print(I hope this was helpful! );
N.B This was not written specifically for any programming language
Re: Object Oriented Program: What Does It Really Mean? by umaryusuf(m): 12:09pm On Aug 29, 2016
There are different kinds of programming paradigms.

A programming paradigm is a style or “way” of programming. Some languages make it easy to write in some paradigms but not others.

Object-Oriented Programming (OOP) is just one of such paradigms that create “objects” during the phase of programming.

Other programming paradigms includes:-
Imperative, Declarative, Structured, Procedural, Functional (Application), Function-Level (Combinator), Event-Driven

The first object oriented language was Simula-67; Smalltalk followed soon after as the first "pure" object-oriented language. Many languages designed from the 1980s to the present have been object-oriented, notably C++, Python, Java, C#, Ruby, JavaScript and PHP.

Object Oriented Programming is much more similar to the way the real-world works; it is comparable to the human brain. A message must be sent requesting the data, just like people must ask one another for data/information since we cannot see inside each other’s heads.
In OOP, data and functionality are combined and wrapped inside what is called an “object” (in other words; each program is made up of many entities called “objects”). These objects have state (attribute) and behavior (method). OOP is based on the sending of messages to objects. Objects respond to messages by performing operations.

SOME DEFINITION OF OOP

OOP: is a programming style of doing real world thinking and simulating the real world in computer programs.

OOP: is a programming paradigms that creates “objects” during the phase of programming.

OOP: is an approach to problem solving where all computations are carried out using objects.

Objects are similar to real world entities, every object has two things namely: Attributes and Methods (that is: Properties and Behaviors).

OOP correlates the real world entities (objects) properties and behaviors. These properties and behaviors of objects are often called with different name by different programming authors as follow:-
Properties are also called: Attributes, Variables, Data members, Fields, Characteristics
Behaviors are also called: Methods, Fucntion members, Actions, Procedures

However, I prefer to call them: Attributes and Methods

Source: http://umar-yusuf..com.ng/2016/05/an-introduction-to-object-oriented-programming-in-python1.html
Re: Object Oriented Program: What Does It Really Mean? by fromnigeria(m): 10:03pm On Aug 29, 2016
ovoSoftware:
object oriented programming is a style or “way” of programming, it is like is a way of thinking on how to solve a problem. Firstly you must know that programs are divided into data and functions, eg a simple game having sprite images(data) and functions directing how the sprite images will move in the game world when some buttons are pressed, in oop data and functions(methods) are combined into a class which acts as templates(or a plan on how the data will change/behave when the program is running) for objects which are classes brought to live. Combinations of these data and functions can affect Code Reuse and Recycling amongst other things.

Quoting Steve Jobs from the rolling stone interview:

Would you explain, in simple terms, exactly what object-oriented software is?

"Objects are like people. They're living, breathing things that have knowledge inside them about how to do things and have memory inside them so they can remember things. And rather than interacting with them at a very low level, you interact with them at a very high level of abstraction, like we're doing right here.
Here's an example: If I'm your laundry object, you can give me your dirty clothes and send me a message that says, "Can you get my clothes laundered, please." I happen to know where the best laundry place in San Francisco is. And I speak English, and I have dollars in my pockets. So I go out and hail a taxicab and tell the driver to take me to this place in San Francisco. I go get your clothes laundered, I jump back in the cab, I get back here. I give you your clean clothes and say, "Here are your clean clothes."
You have no idea how I did that. You have no knowledge of the laundry place. Maybe you speak French, and you can't even hail a taxi. You can't pay for one, you don't have dollars in your pocket. Yet I knew how to do all of that. And you didn't have to know any of it. All that complexity was hidden inside of me, and we were able to interact at a very high level of abstraction. That's what objects are. They encapsulate complexity, and the interfaces to that complexity are high level."



thanks man, thanks so much.
Re: Object Oriented Program: What Does It Really Mean? by fromnigeria(m): 10:08pm On Aug 29, 2016
Badyear:
Normal Programing-> #A simple program for info about three nairaland employees. Employee1_name=”fromnigeria”; Employee1_age= 22; Employee1_salary=150000; Employee2_name=”badyear”; Employee2_age=26; Employee2_salary=200000; Employee3_name=”buhari”; Employee3_age=30 Employee3_salary=400000;

Object Oriented Programing-> #A simple object oriented program for info about three nairaland employees. Class Employees{ Char name; Int age; Int salary; } Employee1=Employees(“fromnigeria”,22 , 150000); Employee2=Employees(“badyear”,26,200000); Employee3=Employees(“buhari”,30,400000);
print(I hope this was helpful! ); N.B This was not written specifically for any programming language
I spot the differences. I thank you so much for bordering to.
Re: Object Oriented Program: What Does It Really Mean? by fromnigeria(m): 10:14pm On Aug 29, 2016
umaryusuf:

There are different kinds of programming paradigms.

A programming paradigm is a style or “way” of programming. Some languages make it easy to write in some paradigms but not others.

Object-Oriented Programming (OOP) is just one of such paradigms that create “objects” during the phase of programming.

Other programming paradigms includes:-
Imperative, Declarative, Structured, Procedural, Functional (Application), Function-Level (Combinator), Event-Driven

The first object oriented language was Simula-67; Smalltalk followed soon after as the first "pure" object-oriented language. Many languages designed from the 1980s to the present have been object-oriented, notably C++, Python, Java, C#, Ruby, JavaScript and PHP.

Object Oriented Programming is much more similar to the way the real-world works; it is comparable to the human brain. A message must be sent requesting the data, just like people must ask one another for data/information since we cannot see inside each other’s heads.
In OOP, data and functionality are combined and wrapped inside what is called an “object” (in other words; each program is made up of many entities called “objects”). These objects have state (attribute) and behavior (method). OOP is based on the sending of messages to objects. Objects respond to messages by performing operations.

SOME DEFINITION OF OOP

OOP: is a programming style of doing real world thinking and simulating the real world in computer programs.

OOP: is a programming paradigms that creates “objects” during the phase of programming.

OOP: is an approach to problem solving where all computations are carried out using objects.

Objects are similar to real world entities, every object has two things namely: Attributes and Methods (that is: Properties and Behaviors).

OOP correlates the real world entities (objects) properties and behaviors. These properties and behaviors of objects are often called with different name by different programming authors as follow:-
Properties are also called: Attributes, Variables, Data members, Fields, Characteristics
Behaviors are also called: Methods, Fucntion members, Actions, Procedures

However, I prefer to call them: Attributes and Methods

Source: http://umar-yusuf..com.ng/2016/05/an-introduction-to-object-oriented-programming-in-python1.html
thanks for taking your time.
Re: Object Oriented Program: What Does It Really Mean? by talk2hb1(m): 7:41am On Aug 30, 2016
To me OOP is a programming philosophy, where you see/abstract your software as an Object(Noun), with Properties(Adjective), and with Action(Verb).

1 Like 1 Share

(1) (Reply)

PLEASE What's Wrong With This Line Of Code ? / In Need Of 3 Web Developer To Work With On A New Project / [HOT] See What Fell From Cloud This Morning. OMG!!!

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 34
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.