CSC323 2010S Software Design

Class 20: Design Principles

Back to Architecture. On to Testing, Revisited.

This outline is also available in PDF.

Held: Thursday, April 15, 2010

Summary: We consider some basic approaches to the design of classes. We also visit the current status of the project.

Related Pages:

Notes:

Overview:

Exploring Logs

Get out your logs and let's talk.

Design Principles

Principle 1: The Open-Closed Principle (OCP)

Principle 2: The Don't Repeat Yourself (DRY)

Princple 3: The Single Responsibility Principle (SRP)

Principle 4: The Liskov Substitution Principle (LSP)

Some Other Techniques

Striking a Balance

Project Exercise

Big Picture Issues

Back to Architecture. On to Testing, Revisited.

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Tue May 11 12:40:54 2010.
The source to the document was last modified on Mon Jan 25 20:52:44 2010.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CSC323/2010S/Outlines/outline.20.html.

You may wish to validate this document's HTML ; Valid CSS! ; Creative Commons License

Samuel A. Rebelsky, rebelsky@grinnell.edu

Copyright © 2010 Samuel A. Rebelsky. This work is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.