Skip to main content

Posts

Showing posts from April, 2014

How to Understand Object Oriented Programming

Understanding object-oriented programming can be a difficult task no matter what language you are using. However, understanding the underlying concept can make programmatic understanding and usage much easier. 1 Understand that there are generally three main parts to object oriented programming.   These are Abstraction, Inheritance and Encapsulation. 2 In Object-Oriented Programming Languages, programs are designed with the concept of objects, where each object contains its own set of variables to store data about or relevant to that object, and functions to perform action (like outputting text or making an API call to the operating system), perform calculations, add data to variables inside the object, etc.   This contrasts with Structured Programming Languages, in which programs are designed with collections of functions that are called in different parts of the program, more like a script or job list. 3 Objects represent various things in...