Controlling Visibility of Class Extensions: Classboxes - Alexandre Bergel - Grāmatas - VDM Verlag - 9783639165180 - 2009. gada 16. jūnijs
Ja vāks un nosaukums nesakrīt, pareizs ir nosaukums

Controlling Visibility of Class Extensions: Classboxes


Saņemt e-pastu, kad prece būs pieejama
Do you have a profile? Pierakstīties
Saņemiet paziņojumus par jauniem Alexandre Bergel izdevumiem
Pievienot savam iMusic vēlmju sarakstam

Not rated yet

Unanticipated changes to complex software systems can introduce anomalies such as duplicated code, suboptimal inheritance relationships and a proliferation of run-time downcasts. Refactoring to eliminate these anomalies may not be an option, at least in certain stages of software evolution. A class extension is a method that is defined in a module, but whose class is defined elsewhere. Class extensions offer a convenient way to incrementally modify existing classes when subclassing is inappropriate. Unfortunately existing approaches suffer from various limitations. Either class extensions have a global impact or they have a purely local impact, with negative results for collaborating clients. Furthermore, conflicting class extensions are either disallowed, or resolved by linearization, with subsequent negative effects. To solve these problems we present classboxes, a module system for object-oriented languages that provides for behavior refinement (i.e., method addition and replacement). Moreover, the changes made by a classbox are only visible to that classbox (or classboxes that import it), a feature we call local rebinding.

Mediji Grāmatas     Paperback Book   (Grāmata ar mīksto vāku un līmēto muguru)
Izlaists 2009. gada 16. jūnijs
ISBN13 9783639165180
Izdevēji VDM Verlag
Lapas 156
Izmēri 150 × 220 × 10 mm   ·   235 g
Valoda Angļu  

Vairāk no Alexandre Bergel

Rādīt visu

Vairāk no tā paša izdevēja