Plan October 12
traversal visitor style programming
switch to DemeterJ, abandon DJ
structure-shy programming
defining visitors
defining traversals
freezing our communication language
Ryan and Matt
Sloan
Feng
Pattern used:
concrete class X= "" ... ""
abstract class A: X | Y common Q R.
WrapperA = "" A "".
A : X | Y common Q R.
X = "" "".
parts:
if part is not descriptive enough, add additional
start tag / end tag.
Plan October 19, 2007.
OO Design comparison
Transaction1 = Kind1.
Kind1 : Buy1.
Buy1 = "" Derivative "".
Transaction2 = "" Kind2 Derivative "".
Kind2 : Buy2.
Buy2 = "" "".
Derivative = "" String "".
=======================================
Parser generators
never write a parser manually!
Java Compiler Compiler
ANTLR
Code reviews
project 5 and 6
Landwehr, Peter Bailey
Plan Oct. 23:
Groovy and Law of Demeter
midterm:
Shyness and information hiding
Pattern language for structure-shy programming
Oct. 30
Midterm discussion
project 7
preview on project 8:
refine one interface: last semester
build on project 4: determine optimal bias b
Code reviews
Nov. 9
Agile Software Development
project 8
Rank 3, outsourcing interface