Explore BrainMass
Share

Explore BrainMass

    Re-usability in procedural and object-oriented languages

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Re-usability is the ability to use code written for another situation. Most languages and programming paradigms support re-usability in some form. Create a report about re-usability in the procedural and object oriented languages. These two paradigms support re-usability in different ways. Document the differences in a Word document. In addition, list the pros and cons of re-usability for these paradigms.

    © BrainMass Inc. brainmass.com May 20, 2020, 8:06 pm ad1c9bdddf
    https://brainmass.com/computer-science/programming-languages/reusability-procedural-object-oriented-languages-377015

    Solution Preview

    Solution is attached.

    Reusability is the ability to use code written for another situation. Most languages and programming paradigms support reusability in some form. Create a report about reusability in the procedural and OO languages. These two paradigms support reusability in different ways. Document the differences in a Word document. In addition, list the pros and cons of reusability for these paradigms.
    Both procedural and object oriented languages facilitate reusability in different ways. In the case of procedural languages, code reusability is permitted which helps programmers. Code reusability is allowed in procedural languages through the use of functions. Programmers can create user-defined functions for problems that generally need frequently-used solutions (Vine, 2004). Procedural programming uses modular design, which involves grouping of related tasks together that perform the same function. Hence, creating a function that would group related tasks makes it possible to use the same function in ...

    Solution Summary

    This solution presents a report on re-usability in procedural and object oriented languages. This solution also explores the pros and cons of re-usability for object oriented and procedural programming paradigms.

    $2.19

    ADVERTISEMENT