Refactoring with Relations. A New Method for Refactoring Object-Oriented Software

Refactoring with Relations. A New Method for Refactoring Object-Oriented Software
ISBN-10
0976277549
ISBN-13
9780976277545
Category
Computers
Pages
83
Language
English
Published
2006-07-01
Publisher
SciControls.com
Authors
Jr., Sergio Pissanetzky

Description

This electronic book discusses refactoring with support from the relational model of computer programs. Code in all programming languages needs refactoring, and a multi-language refactoring engine is needed to refactor that code. Refactoring is about structure, and the book is about structure. The book proceeds to discuss the structure of code, argues that it needs to be identified, separated from language constructs, and encapsulated into a container. The encapsulated structure is preserved in a pristine state and serves as an invariant point of reference for the refactoring transformations.The book defines "bad" code as one with a damaged structure and "good" code as one with a properly encapsulated and logically sound structure. The book proposes the relational model as the container for the structure of the program and to serve as a language-independent, non-object-oriented repository with sufficient information to support refactoring. Relations are covered as a fundamental mathematical tool used to describe structure. The model can be created from existing code by a specialized parser, and a sparse matrix partitioning algorithm can create the refactored classes by recursively encapsulating user types. The combination of the model and the algorithm makes automatic polyglot refactoring of computer code possible. The model provides for integration of refactoring tools and development tools into one platform.The book also demonstrates that deep refactoring converts "bad" code into Strong Ownership code, a programming style described in the book, and demonstrates that the need for refactoring may be reduced by following the Strong Ownership prescriptions during development. The book includes many practical examples, presents experimental evidence, discusses various applications and possible implementations, and covers details of the process of refactoring with relational support, as well as the conversion from the model to final object-oriented code.Relational support for refactoring is a new concept. The production of tools will take time, meanwhile, developers are advised to mind Strong Ownership techniques. This is an 83-page eBook in PDF format presenting refactoring in a new light and a much larger scale. Downloads are provided and a page sample is available from SciControls.com. The page sample is a pdf file with the preface, table of contents, index, and some selected pages.

Similar books

  • Family History Digital Libraries
    By William Sims Bainbridge

    One named Sara and Timberlake had 11 male workers, 1 female worker, and 4 children workers, so it might have employed the Minor family.

  • Foundation Dreamweaver MX
    By Craig Grannell, Jerome Turner, Matt Stephens

    So here's what we need to do to arrive at our layout: s Create the main table to hold all the page elements. s Deal with the navigation area which is ...

  • Cisco CCNA Certification, 2 Volume Set: Exam 200-301
    By Todd Lammle

    This inclusive, two-book set provides what you need to know to succeed on the new CCNA exam. The set includes Understanding Cisco Networking Technologies: Volume 1 and the CCNA Certification Study Guide: Volume 2.

  • CompTIA Network+ Study Guide: Exam N10-006
    By Todd Lammle

    ... you can use: –a –A –c –n –r –R –S –s All nbtstat switches are case sensitive. Generally speaking, lowercase switches deal with NetBIOS names of hosts, ...

  • CompTIA Network+ Study Guide with Online Labs: N10-007 Exam
    By Todd Lammle, Jon Buhagiar

    ... you can use: –a –A –c –n –r –R –S –s All nbtstat switches are case sensitive. Generally speaking, lowercase switches deal with NetBIOS names of hosts, ...

  • CCNA: Cisco Certified Network Associate FastPass
    By Todd Lammle

    S The S reference point defines the point between the customer router and an ... with the letter E deal with using ISDN on the existing telephone network.

  • Stranger in the Chat Room
    By Todd Hafer, Jedd Hafer

    A sequel to In the Chat Room With God finds a group of teens contacted by a mysterious and increasingly malevolent character who claims to know about their encounters with the Almighty and challenges their beliefs. Original.

  • Error Correction Coding: Mathematical Methods and Algorithms
    By Todd K. Moon

    M M−1∑ k=0 −∞ ∞ k=0 The average energy per signal E s ∫ can be related to the ... we will deal primarily with additive white Gaussian noise (AWGN), ...

  • Security+ Training Guide
    By Todd King

    ... to deal with most , but unfortunately not all , of these potential threats . ... The S / MIME standard implements encryption for message content using ...

  • CCDA: Cisco Certified Design Associate Study Guide: Exam 640-861
    By Todd Lammle, Andy Barkl

    S reference point The S reference point defines the reference point between ... with the letter E deal with using ISDN on the existing telephone network.