Sign in to follow this  
Followers 0
edena

About Object Oriented Programming?

5 posts in this topic

Hi!!

What is really an Object Oriented Programming? If anyone knows about it can you explain it in a simpler way so that I can understand.

Thank You

Share this post


Link to post
Share on other sites



I don't fully understand it myself, but here's what I have come to learn. Let's make you into an object. You have traits like skin color, height, age, nickname, etc. Instead of creating variables for each of your traits, you are the core and you call the traits that you have. Something like this:

skincolor.edena

height.edena

age.edena

nickname.edena

I wish I could tell you more, but like I said, I don't fully understand the concept myself. Maybe someone else will be kind enough to explain it better.


#include <ByteMe.au3>

Share this post


Link to post
Share on other sites

Thanks sleepydvdr,

so are you saying that if a programmer created a program and that program is now called an object, you then create your program to use this object with other objects...lol!!!

I'm getting confused!!! anyone out there is it like what I just said?

Share this post


Link to post
Share on other sites

Object orientated programming is basically the encapsulation of everything to do with a certain area of a program into an object. So from the outside of the object you only see the objects "intereface" NOT the internal workings of the object. To make a program you put together many objects and tell them how to interact and you have a program.

So to use the Human Object you see the face, eyes, etc, etc, etc and the things that other Objects need to interact with that object. You don’t see (normally) the heart, lungs, etc that make the object work. ALSO objects don’t share (normally) internal parts I.E. humans don’t share lungs, hearts, etc.

This is compared to AutoIT where functions can share/access global parts with other functions. IE a GUI can be accessed by all functions in a program.

I did this for 3 years at UNI but that was a few years ago. :graduated:

If you have any further questions please ask.

Hope that helps!

John Morrison

Share this post


Link to post
Share on other sites

Thanks Storme and Sleepydvdr

I think i kinda understand it now.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0