Skip to content

[OliverQiL] iP#238

Open
OliverQiL wants to merge 27 commits intonus-cs2113-AY2425S2:masterfrom
OliverQiL:master
Open

[OliverQiL] iP#238
OliverQiL wants to merge 27 commits intonus-cs2113-AY2425S2:masterfrom
OliverQiL:master

Conversation

@OliverQiL
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@Hackin7 Hackin7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good attempt at commenting but comments are generally self explanatory, can remove some redundant ones. Other than that generally reducing arrowhead code helps

int taskCount = 0;

// main program loop - continues until user types bye
do {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arrowhead code, can try to do more abstraction etc.

String message = DIVIDER + NEWLINE + "added: " + task.description + NEWLINE + DIVIDER;
System.out.println(message);

// return updated task count
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is redundant

A few comments are good, but some are also redundant so do take note

https://nus-cs2113-ay2425s2.github.io/website/se-book-adapted/chapters/codeQuality.html#explain-what-and-why-not-how

"WHY ARE YOU STILL HERE? TYPE 'BYE' TO EXIT!",
"I CANT KEEP DOING THIS! PLEASE TYPE BYE!!!",
"RELEASE ME FROM MY PRISON!!!",
"I EXIST ONLY TO SUFFER",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very understandable

} else {
goodbye = DIVIDER + NEWLINE
+ "Bye. Hope to see you again soon!" + NEWLINE
+ "Oongaliegabangalie is always watching..." + NEWLINE
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you try to use the BOT_NAME variable here instead of hard coding it into the string?

OliverQiL and others added 21 commits March 6, 2025 15:03
…g old static array system and without delete function to practice parallel branches and merge conflict resolution)
* branch-Level-6:
  Level-6 (Implemented delete function, switched to using ArrayList instead of static Arrays)
* branch-Level-7:
  Level-7 (implemented save function with un-updated master branch using old static array system and without delete function to practice parallel branches and merge conflict resolution)

# Conflicts:
#	src/main/java/oongaliegabangalieBot/ui/oongaliegabangalie.java
* 'master' of https://github.com/OliverQiL/ip:
  A-JavaDoc (Added comments)
  Level-9 (Find function)
  Level-8 (Added dates and times functionality for BOTH deadline and event commands)

* 'master' of https://github.com/OliverQiL/ip:
  A-JavaDoc (Added comments)
  Level-9 (Find function)
  Level-8 (Added dates and times functionality for BOTH deadline and event commands)
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.

2 participants