程序代写案例-PHASE 1
THE DESIGN TO REVISE
PHASE 1: Applying Design Principles
Task 1: Revising The Code And Add A Creational Pattern
Look into your SUD project and apply a creational pattern following the procedure
discussed in Lab 6. Make sure that you write informative pull request messages and
commit messages describing your logic for the change.
You should create a separate branch and a pull request for this change.
You will have multiple options and ways to apply creational patterns. Choose the one that
makes the most sense and is most critical for the extension and readability of your
projects. The LOGIC of your choice should be described in the report and the commit and
pull request messages.
- Try your best to avoid similar changes as your classmates. If there is no other place in
the code that a creational pattern could be applied, you will not lose any marks.
However, if we identify a place in the code that any creational pattern could have been
applied but you missed it, we deduct 5%.
Task 2: Revising the Code and Add a Structural Pattern
Look into your SUD project and apply a structural pattern following the procedure
discussed in Lab 6. Make sure that you write informative pull request messages and
commit messages describing your logic for the change.
You should create a separate branch and a pull request for this change.
You will have multiple options and ways to apply structural patterns. Choose the one that
makes the most sense and is most critical for the extension and readability of your
projects. The LOGIC of your choice should be described in the report and the commit and
pull request messages.
- Try your best to avoid similar changes as your classmates. If there is no other place in
the code that a structural pattern could be applied, you will not lose any marks.
However, if we identify a place in the code that any structural pattern could have been
applied but you missed it, we deduct 5%.
Task 3: Reporting and Reflecting on The Logic of Your Design Decision
Please submit ONE pdf file including your report. This report should include the below
table on top of the first page of the submission.
4
Student Name
GitHub User ID
Chosen Project (SUD)
First Pull Request Number
Second Pull Request Number
Submissions missing this table will not be accepted.
In your report, you should separately report on the below per pull request (applied design
pattern):
1- Describing “why” you made a specific design decision: Describe the logic of your
design decision stating that what made you choose a particular pattern and apply
it in the specific part of the code, and
2- Describing “how” you applied your new design: Summarize the changes and the
procedure you applied to the code.
In the unlikely case you believe no such design patterns can be applied, your report
should state your opinion with that regards backed up by evidence and logic. In such a
case no pull request number is needed.
OUTPUT of PHASE 1:
You will have two pull request number and a report (maximum of 4,700 words, no
minimum required) of applying two design patterns to your SUD.

欢迎咨询51作业君
51作业君 51作业君

Email:51zuoyejun

@gmail.com

添加客服微信: ITCSdaixie