preview

Reusability of Code

Satisfactory Essays

Edwin Dix Reusability of Code Programing/211 April 25, 2013 Instructor: Craig Kaercher

Object-oriented programming (OOP) and procedural programming are two programming paradigms. Procedural programming is a method of writing software. It is a programming practice centered on the procedures or actions that take place in a program. Object-oriented programming centers on the object. Object-oriented programming creates objects from abstract data types that encapsulate data and functions together (Gaddis 2010). There are many similarities …show more content…

Encapsulation is a core principle of good software design, at every level of its foundation. The reuse of code is the idea that a partial computer program written at one time can be being used in another program written at a later time. The reuse of programming code is a common technique that attempts to save time and energy by reducing redundant work. The software library is a good example of code reuse. Many programmers may decide to create internal abstractions so that certain parts of their program can be reused to create custom libraries for their own use. The reusability of code has been an object of discussion for many years. The use of OOP and procedure programing are similar and interchangeable on many levels. Some characteristics that make software more easily reusable are modularity, loose coupling, high cohesion, information hiding, and separation of concerns. Programmers today have many challenges in keeping codes secure but not making them so complex they are able to be reused. The cost of programming is an increasing cost to many companies so reusable secure codes are vital to computer

Get Access