Link Details

Link 732667 thumbnail
User 355617 avatar

By piccoloprincipe
Published: Jan 23 2012 / 17:11

In the scenario of today, a subclass and superclass are not very different: the evolution of the code has brought them to this situation. Behavior has been removed, or moved elsewhere in the system, and they are almost the same entity. The Collapse Hierarchy refactoring provides a series of steps to unify two such classes into one, simplifying the design.
  • 4
  • 0
  • 585
  • 410

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (4)

Downvoters (0)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java