Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Daniel Ling Zhi Yuan] iP #495

Open
wants to merge 65 commits into
base: master
Choose a base branch
from

Conversation

daniellingzy
Copy link

No description provided.

daniellingzy and others added 30 commits March 23, 2023 17:12
Merge branch 'master' of github.com:daniellingzy/ip
Project has Ui class but no Gui class.

Due to change in project requirement, we need to implement
a Gui.

Ui class is removed and Gui class created.

New Gui class required for better OOP representation,
to obey "has-a" relationship between BrotherBot and Gui.

New loadHistory() created in BrotherBot class
Project has Ui class but no Gui class.

Due to change in project requirement, we need to implement
a Gui.

Ui class is removed and Gui class created.

New Gui class required for better OOP representation,
to obey "has-a" relationship between BrotherBot and Gui.

New loadHistory() created in BrotherBot class.
No checks in place to ensure validity of input filepath string.

Assumption that file path is valid is not justified.

Add assert feature to validate filepath.

Ensure handling of error thrown in event of invalid filepath.

No other additional info.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant