Advertisement Jump to content

Archived

This topic is now archived and is closed to further replies.

v0dKA

Object Oriented Programming

This topic is 5339 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! What''s object oriented programming? How''s it different from regular programming? Why is it so "good"?
.:<<-v0d[KA]->>:.

Share this post


Link to post
Share on other sites
Advertisement
It is a programming paradigm that focuses on abstract representations of things, called objects, that have particular states and behaviour associated with them. Check out this faq for more.

http://www.objectfaq.com/oofaq2/

It is "good" due to the software engineering principles it promotes, ie encapsulation. I think it is pretty safe to assume that most software written today uses this paradigm. And all the major languages (C++,Java,C#,Eiffel) support it or strictly enforce it.

Share this post


Link to post
Share on other sites
To ''layman-ize'' the previous explanation...it is a way to build a framework which allows you to modify one aspect of a program without negatively (or at all) affecting the rest of the program unless the interface itself changes.

Share this post


Link to post
Share on other sites
to further ''layman-ize'' the previous explanations, its a way to write code, so that your code is more organised and you have better control and understanding over it.

anything you can do with procedural programming, you can do with object oriented programming. but if you''re using the procedural programming paradigm, you''ll have a harder time tracking bugs, making changes to your application and understanding what calls what, and what runs when. especially when your app gets bigger. O-O solves that for you...sort of. :D

VRAM Strider.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!