SWEN-261 Lecture Notes - Lecture 20: Switch Statement, Distributed Version Control, Code Review

34 views2 pages

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.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents