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

[Samantha Low] iP #71

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

[Samantha Low] iP #71

wants to merge 106 commits into from

Conversation

samlsm
Copy link

@samlsm samlsm commented Aug 21, 2020

No description provided.

damithc and others added 30 commits July 23, 2020 23:27
Duke is unable to save task input and thus all tasks are lost once Duke terminates.

Let's create a hard disk and enable duke to write to that database

With tasks being save in hard disk whenever the task list changes, Duke can now save task inputs.
Duke reads all date and time as String object.

Reading date and time as String limits the things Duke can do. Comparison of dates and times cannot be made as it is a String object.

Let's change the String object to LocalDate and LocalTime object instead.

In this way, Duke would be able to compare the Dates and organise tasks with respect to the dates on command.
# Conflicts:
#	src/main/java/Duke.java
#	src/main/java/Event.java
#	text-ui-test/EXPECTED.TXT
# Conflicts:
#	src/main/java/Deadline.java
#	src/main/java/Duke.java
#	src/main/java/Event.java
#	text-ui-test/EXPECTED.TXT
Duke class has too many functionalities/ purpose which violates the OOP principle.

Let's add in more classes and make use of inheritance to group classes with similar functionalities together.

Including more OOP allows the functionalities in Duke class to be passed to other classes. Adhere to OOP principle more adequately.
Duke class has too many functionalities/ purpose which violates the OOP principle.

Let's add in more classes and make use of inheritance to group classes with similar functionalities together.

Including more OOP allows the functionalities in Duke class to be passed to other classes. Adhere to OOP principle more adequately.
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.

None yet

2 participants