CS100A Lecture 5
Previous Lecture
- Programming Concepts
- Rules of thumb
- learn and use patterns
- inspiration from hand-working problem
- boundary conditions
- validation
- Pattern for processing input values up to (but not including) a stopping signal
- Example
- Java Constructs
This Lecture
- Programming Concepts
- Programming by stepwise refinement
- a pattern
- sequential refinement
- case analysis
- iterative refinement
- Use of comments as higher-level statements