code reuse, also called software reuse, is the use of existing software, or software knowledge, to build new software,: 7 following the reusability principles...
16 KB (1,925 words) - 12:39, 14 December 2023
Composition over inheritance (redirect from Composite reuse principle)
composite reuse principle) in object-oriented programming (OOP) is the principle that classes should favor polymorphic behavior and code reuse by their...
19 KB (1,940 words) - 19:08, 7 June 2024
Reuse is the action or practice of using an item, whether for its original purpose (conventional reuse) or to fulfill a different function (creative reuse...
16 KB (2,340 words) - 03:38, 3 July 2024
life cycle and include code, software components, test suites, designs and documentation. The opposite concept of reusability is leverage, which modifies...
4 KB (384 words) - 10:55, 12 January 2024
Defensive programming (redirect from Defensive coding)
code is tested and known to work, reusing it may reduce the chance of bugs being introduced. However, reusing code is not always good practice. Reuse...
14 KB (1,800 words) - 22:52, 12 December 2023
SOLID (redirect from Clean Code)
: 2–3 The SOLID acronym was coined around 2004 by Michael Feathers. Code reuse GRASP (object-oriented design) Inheritance (object-oriented programming)...
6 KB (465 words) - 10:48, 10 July 2024
Inheritance (object-oriented programming) (category Articles with example Python (programming language) code)
implementation while maintaining the same behaviors (realizing an interface), to reuse code and to independently extend original software via public classes and interfaces...
31 KB (3,772 words) - 04:44, 28 December 2023
minimal code reuse. Using inheritance is recommended mainly when adding to the functionality of existing components, reusing most of the old code and adding...
16 KB (1,809 words) - 11:04, 17 June 2024
Procedural programming (redirect from Procedural code)
although they have similar semantics: The principles of modularity and code reuse in functional languages are fundamentally the same as in procedural languages...
9 KB (981 words) - 03:50, 15 July 2024
Library (computing) (redirect from Reusable library)
having to implement it itself. Libraries encourage code reuse in a modular fashion. When writing code that uses a library, a programmer only needs to know...
26 KB (3,103 words) - 21:38, 15 July 2024
Delegation pattern (category Articles with example C++ code)
object-oriented design pattern that allows object composition to achieve the same code reuse as inheritance. In delegation, an object handles a request by delegating...
4 KB (453 words) - 18:18, 28 October 2023
described as being "included" rather than "inherited". Mixins encourage code reuse and can be used to avoid the inheritance ambiguity that multiple inheritance...
29 KB (3,222 words) - 15:29, 24 June 2024
Firefox for Android (section Forks and code reuse)
based on GeckoView – an implementation of Gecko that is decoupled as a reusable library, intended to be used as an alternative to the default Android WebView...
85 KB (7,883 words) - 19:10, 9 July 2024
templating frameworks, and session management, and they often promote code reuse. Although they often target development of dynamic web sites, they are...
19 KB (2,094 words) - 08:50, 25 June 2024
My Coke Rewards (section Code reuse)
Coca-Cola Company. Customers entered codes found on specially marked packages of Coca-Cola products on a website. Codes could also be entered "on the go"...
14 KB (1,500 words) - 04:06, 26 March 2024
Don't repeat yourself (redirect from DRY code)
Scarlett's suggestion of AHA. Abstraction principle (programming) Code duplication Code reuse Copy and paste programming Database normalization and denormalization...
9 KB (964 words) - 08:08, 3 June 2024
In software engineering, many reuse metrics and models are metrics used to measure code reuse and reusability. A metric is a quantitative indicator of...
1 KB (177 words) - 20:07, 26 March 2024
adaptive maintenance, corrective maintenance, perfective maintenance, code reuse, and code leverage. Titles of works on program comprehension include Using...
2 KB (193 words) - 07:08, 23 April 2024
software projects with a long lifetime of code reuse, such as Microsoft Windows, the structure of the code mirrors not only the communication structure...
14 KB (1,607 words) - 01:18, 18 June 2024
definitions in mind at once. Deep hierarchies are a code smell and a symptom of sub-classification for code reuse. More generally, the yo-yo problem can also...
3 KB (351 words) - 07:58, 3 June 2024
JavaBeans (category Articles with example Java code)
allows the beans to be handled in a more generic fashion, allowing easier code reuse and introspection. This in turn allows the beans to be treated as software...
9 KB (905 words) - 18:49, 22 July 2023
Modular programming (redirect from Code Factoring)
software libraries, dates to early software systems, where it was used for code reuse. Modular programming per se, with a goal of modularity, developed in the...
13 KB (1,610 words) - 23:11, 1 July 2024
Object-oriented programming (redirect from Object-oriented code)
languages are diverse, but typically OOP languages allow inheritance for code reuse and extensibility in the form of either classes or prototypes. These forms...
70 KB (7,743 words) - 03:34, 2 July 2024
Design by contract (redirect from Code contract)
preconditions. Design by contract can also facilitate code reuse, since the contract for each piece of code is fully documented. The contracts for a module...
21 KB (2,108 words) - 16:09, 6 May 2024
ALTRAN, TMG and C++. His seminal work on software componentization and code reuse makes him a pioneer of component-based software engineering and software...
20 KB (1,676 words) - 05:19, 28 June 2024
Reuse of human excreta is the safe, beneficial use of treated human excreta after applying suitable treatment steps and risk management approaches that...
69 KB (7,869 words) - 15:19, 16 July 2024
Reclaimed water (redirect from Wastewater reuse)
that can be reused for a variety of purposes . It is also called wastewater reuse, water reuse or water recycling. There are many types of reuse. It is possible...
62 KB (8,469 words) - 19:15, 3 July 2024
anti-pattern, particularly found in legacy systems. This is due to the lack of code reuse, and resulting software brittleness due to potentially general functions...
2 KB (256 words) - 03:43, 9 November 2023
Macro (computer science) (category Source code)
and tree macros are supported in some programming languages to enable code reuse or to extend the language, sometimes for domain-specific languages. Macros...
32 KB (3,907 words) - 17:46, 2 July 2024
Greywater (redirect from Reuse of greywater)
Chapter 16A "Non-potable Water Reuse Systems" to the 2007 California Plumbing Code. Emergency regulations allowing greywater reuse systems were subsequently...
35 KB (4,190 words) - 21:26, 25 June 2024