iP:
Level-7
, Level-8
A-MoreOOP
, A-Packages
, A-JUnit
, A-Jar
A-JavaDoc
, A-CodingStandard
, Level-9
tP:
Reminder about the deadline for the weekly project tasks:
master
branch of your fork to the master
branch of the upstream repo (https://github.com/nus-cs2103-AY2021S2/ip)[{Your name}] iP
e.g., [John Doe] iP
If you are reluctant to give full name, you may give the first half of your name only.The PR will update automatically to reflect your latest code every time you push code to your fork. As a result, it provides a convenient way for us to access the current state of all your iP code from one location.
Level-7
, Level-8
branch-Level-7
. Without merging that branch, go back to the master
branch and implement the other increment in a separate branch named similar to the first (i.e., branch-{increment ID}
). Now, go back to the master
branch and merge the two branches one after the other. As before, tag the commit (in the master
branch, after merging) that achieves the respective deliverable, and push to your fork.b1
to the master
branch, you need to push both the master
and the b1
branches to the fork. Pushing the master
branch does not automatically take the b1
branch along with it just because it is already merged to the master
branch.A-MoreOOP
, A-Packages
, A-JUnit
, A-Jar
Why more OOP?
One the increments below asks you to push the design more towards the OOP approach. This is a good point to remind you that OOP is not a silver bullet or always the right choice. While it is the most popular and possibly the right choice for majority of situations, it has plenty of detractors and known problems.
OOP has been chosen as the primary paradigm for this module and you are expected to try to push it to its limits. That should give you a first-hand experience of OOP's strengths and weaknesses. Furthermore, OOP (or any other paradigm) will appear worse than it really is if not used correctly, and learning to use it correctly in increasingly larger systems is another objective you can aim for in this module. As you do the tP later, you'll also realize that while OOP is used for the internal design of its components, the higher-level design is not specifically an OOP one.
We do not prohibit the use of other paradigms, however. For example, if you find a place where the functional approach is better, go ahead and use it. As you know, Java supports functional programming to a certain extent. In fact, the tP code given to you uses small snippets of functional-style code in several places.
master
branch (no need to use separate branches).A-JavaDoc
, A-CodingStandard
, Level-9
branch-A-JavaDoc
, branch-A-CodingStandard
, branch-Level-9
), and then merge them one-by-one. Hopefully, you will encounter some merge conflicts so that you get to practice de-conflicting branches.A-CodingStandard
) are given in this page.