[Skip to Body]
Primary:
[Front Door]
[Schedule]
-
[Academic Honesty]
[Instructions]
Current:
[Outline]
[EBoard]
[Reading]
-
[Assignment]
Groupings:
[EBoards]
[Examples]
[Handouts]
[Outlines]
[Readings]
Related Courses:
[CSC223 2007F (Davis)]
[CSC223 2004F (Rebelsky)]
Misc:
[SamR]
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:
write a testproblem.
Overview:
Get out your logs and let's talk.
Principle 1: The Open-Closed Principle (OCP)
Sharpen Your Pencilquestion on p. 381?
Principle 2: The Don't Repeat Yourself (DRY)
Princple 3: The Single Responsibility Principle (SRP)
do I do this to myself or do others do it to mequestion seems to be the core idea.
Principle 4: The Liskov Substitution Principle (LSP)
an object
Generalize it All in Advanceand more XP-ish
Let the design emerge from the code.
Back to Architecture. On to Testing, Revisited.
[Skip to Body]
Primary:
[Front Door]
[Schedule]
-
[Academic Honesty]
[Instructions]
Current:
[Outline]
[EBoard]
[Reading]
-
[Assignment]
Groupings:
[EBoards]
[Examples]
[Handouts]
[Outlines]
[Readings]
Related Courses:
[CSC223 2007F (Davis)]
[CSC223 2004F (Rebelsky)]
Misc:
[SamR]
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 ; ;
Samuel A. Rebelsky, rebelsky@grinnell.eduhttp://creativecommons.org/licenses/by-nc/2.5/
or send a letter to Creative Commons, 543 Howard Street, 5th Floor,
San Francisco, California, 94105, USA.