SWEN-261 Lecture Notes - Lecture 20: Switch Statement, Distributed Version Control, Code Review
Document Summary
A code review can help improve the quality of the project and the quality of the team. It can also help to identify certain things that need to be tested in unit tests. A senior developer sits with a junior developer. A team meets and reviews the code. A checklist is usually used to keep track of the code review and pull requests. Usually the person merging the branch into master is the original developer. State charts help define what goes in a certain software. Implicitly evolving the software can lead to a bad design. If the states can be defined, it can often save a lot of time and trouble. In order to capture state based behavior, you can use a switch statement that checks for the varying states. The state based implementation can be done with a switch statement that runs for the entire class, and checks the state enums or state class.