Skip to Main Content
Prefactoring
book

Prefactoring

by Ken Pugh
September 2005
Intermediate to advanced content levelIntermediate to advanced
240 pages
6h 28m
English
O'Reilly Media, Inc.
Content preview from Prefactoring

8.1. The Proof Is in the Pudding

At this point, Tim and I are ready to create the first release. We could continue our system analysis and design until we have covered every detail before commencing coding. However, it appears the undetermined details will not affect the overall class structure. We can fill in these holes in our information during coding.

A concrete implementation of the design demonstrates the guidelines that were described in the previous chapters. The design is general, so it can be implemented in any object-oriented language without much alteration. Since the design does not employ inheritance, it could even be implemented in other languages with a disciplined, object-based approach.

The complete set of classes is in Appendix B. Since Java has a standard graphical user interface (GUI) library, the implementation is in Java. The code looks much like C++ or C#, with the exception of the code for the GUI. The names of the methods have been changed to correspond with common Java coding conventions. Member variables of each class are prefixed with the and parameter names with a, if applicable.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Understanding Unittest.Mock

Understanding Unittest.Mock

Mario Corchero
Java™ Performance

Java™ Performance

Charlie Hunt, Binu John

Publisher Resources

ISBN: 0596008740Supplemental ContentCatalog PageErrata