Software reusability in c

The new class will have the combined features of both the classes. The requirements specification, the architectural design, and the source code are all software in different formats. You will often write a piece of code, typically a library that youll want to reus e in another project. There are various approaches to quantitatively and statically measuring the reusability of program source code. Software reusability includes the reuse of any software artifacts in various formats. This is going to be a bit long answer since this is a vast topic and i will also point out the difference of using reusability durin g software and hardware codi ng. Reusability can take place at different levels and in many forms. In computer science and software engineering, reusabilit y is the use of existing assets in some form within the softwa re product development process. Since reusability is influenced by a number of different factors, there are various approaches and. Software should be written in a way that allows for effi cient reus e by developing apis for common functionality, employing object oriented paradigms, commenting code, and where appropriate documenting code to describe higherlevel opera tions reusabil ity. These slides on software reuse and objectoriented programming are part of the course lingi2252 software maintenance and evolution, given by prof. In practice this means that we design software in ways which enable us to write the code for some particular functionality exactly once. Real life exampl es are stl, boost, qt, and you name it library.

Enhancing iconic program reusability with object sharing. Reusability metrics for program source code written in c language. Subse quently, for ten projects involved in development with existing software modification and. In oop, the concept of inheritance provide the idea of reusability. In order to reuse software component, the component has to be designed and built for reusability. Code reuse, also called software reuse, is the use of existing software, or software knowledge, to build new software, following. Reusability software code can be reused in other systems 6. Hello select your address best sellers customer service new releases find a gift customer service new releases find a gift. This research further examines the effects of reuse on objectoriented software development by dividing reuse into two types and examining their effects individually. This means that we can add additional features to an existing class without modifying it. Distributableportable can it be distributable over a network, or is it operable on multiple platforms 7. Custom developed software should employ the principles of modularity an d reusability.

This is possible by deriving a new class from the existing one. In computer science and software engineering, reusability is the use of existing assets in some form within the software product development process. Software exits in different forms throughout the software engineering process. Once a class has been written and tested, it can be adapted by another programmer to suit their.

638 464 58 1164 152 1015 30 1161 1335 1216 1506 385 668 502 549 691 1184 688 1201 1510 463 53 1529 1200 1187 952 270 552 724 1431 683 1171 695 913 74 1438 149 144 738 103 120 570 1485 939 804 695 357 64 676 687