-
Notifications
You must be signed in to change notification settings - Fork 437
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
[Wang Ri Zhao] iP #116
base: master
Are you sure you want to change the base?
[Wang Ri Zhao] iP #116
Conversation
Type of tasks include - event - deadline - todo
Type of tasks include - event - deadline - todo
…ing for deadline and event methods
…ing for deadline and event methods
A-check style use check style #22
Branch a level10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
src/main/java/duke/Duke.java
Outdated
if (cmd.isExit()) { | ||
break; | ||
} | ||
} catch (DukeException e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could the exception e be mroe descriptive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not too sure what do you mean here 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I don't get what you mean here. 😅
throw Ui.taskDateEmptyException(super.getCommandType()); | ||
} | ||
|
||
String name = taskParts[0]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does name refer to here? the command (todo, deadline), or the description of the task?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It refers to the name (aka description) of the deadline task. I think the naming could be more descriptive, e.g. deadlineName. But I am using just name
for the name, so that it is consistent with the rest of the commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great use of OOP.
No description provided.