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

[Siti Nadiah] iP #48

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

Conversation

sitinadiah25
Copy link

No description provided.

Copy link

@btricec btricec left a comment

Choose a reason for hiding this comment

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

Your code is really neat! Good job following the coding standard so well. It's very readable and easy to follow.


System.out.println("What is up my dudes!\n" + tos);

String intro = "____________________________________________________________\n" +
Copy link

Choose a reason for hiding this comment

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

Maybe you could use the LINE constant for this line?

}

private static void printWelcomeMessage() {
String tos = "──────────▄▄▄▄▄▄▄▄▄▄▄──────────\n" +
Copy link

Choose a reason for hiding this comment

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

I like your mascot!

Copy link

@yuchenlichuck yuchenlichuck left a comment

Choose a reason for hiding this comment

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

Good, just make sure the place is right for comment.

taskNum--;
Tasks[taskNum].setDone(true);
printDone(Tasks[taskNum]);
} catch (ArrayIndexOutOfBoundsException e) { //If arr[1] does not exist

Choose a reason for hiding this comment

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

Looking at the Java Code Standards, it's better to make the comments in the next single line.


private static void printWelcomeMessage() {
String tos = "──────────▄▄▄▄▄▄▄▄▄▄▄──────────\n" +
"─────▄▄▀▀▀▀──────────▀▀▄▄──────\n" +

Choose a reason for hiding this comment

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

I like too!👻

System.out.println("Oops! Event description is incomplete!");
}
break;
default: //unknown command

Choose a reason for hiding this comment

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

there is also a problem on where to comment. Please comment in a newline.


private static void runChatbot() {
Task[] Tasks = new Task[100];

Choose a reason for hiding this comment

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

Delete some useless blank lines.

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.

3 participants