Wednesday, 9 October 2013

Object Oriented Programming

As per Danny's request, this is a short paragraph on the uses of Object oriented programming. Now, I have come to realize what that means. EVERYTHING is an object. You can call anything by creating a new object which is given attributes by the function. This is particularly confusing when using recursion, as separate namespaces are generated with their own distinct objects. However, the advantage to object oriented programming is that everything can be kept track of. You can retrieve any object you've created using a single line. You can create several instances of something, meaning that you will have two identical objects, and then change the attributes of one and compare it to the other. All in all, object oriented programming can be confusing but once harnessed, can be extremely powerful.

1 comment:

  1. Amila, can you think of disadvantages of OOP paradigm?

    ReplyDelete