Back to category: Technology

Limited version - please login or register to view the entire paper.

oop vs structured programming

Object oriented programming leads to a more layered approach to programming than is available with structured programming. A procedural based application typically will start at line 1 and will continue in a linear manner until line xxxx is reached. Here the application will terminate or, if this is not desirable, the entire application must be nested inside a gigantic loop to restart the process again.

Using OO, and more importantly OO design methods, an application can be split into logical elements. For instance, a sales order processing application may be defined as the interaction of a customer, the parts and the accumulation of these to form an order. As there is specific information needed for a customer (name, address, account no.) this would log...

Posted by: Justin Rech

Limited version - please login or register to view the entire paper.