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

[linustws] iP #95

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

[linustws] iP #95

wants to merge 80 commits into from

Conversation

linustws
Copy link

@linustws linustws commented Jan 22, 2023

Duke (BorzAI Edition)

"It's not the load that breaks you down, it's the way you carry it." - Lou Holtz (source)

Let BorzAI unleash the full potential of your mind by memorising things you need to do so you don't have to. It's,

  • simple
  • fast to learn
  • EASY SUPER EASY to use

All you have to do is,

  1. download it from here.
  2. install it.
  3. run it.
  4. let it handle your tasks for you 🤩

And it is FREE!

Features:

  • Adding tasks
  • Removing tasks
  • Show list
  • Marking and unmarking tasks
  • Filter by date
  • Filter by keyword
  • Clearing all tasks (coming soon)
  • Reminders (coming soon)

If you Java programmer, you can use it to practice Java too. Here's the main method:

public class Duke {
    public static void main(String[] args) {
        new Duke("./data/tasks.ser").run();
    }
}

Copy link

@anchengyang anchengyang left a comment

Choose a reason for hiding this comment

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

Just a few coding convention issues but other than that good job on the OOP design and the commenting.😄

import duke.task.Deadline;
import duke.task.Event;
import duke.task.Todo;

Choose a reason for hiding this comment

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

Maybe this empty line could be removed

public static Command parse(String fullCommand) throws DukeException {
String[] parts = fullCommand.split(" ", 2);
int indexInput;
switch(parts[0].trim()) {

Choose a reason for hiding this comment

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

switch cases statements do not need an indent as per the coding convention

Copy link

@anchengyang anchengyang left a comment

Choose a reason for hiding this comment

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

Some positive comments that I found quite helpful for myself!

LocalDate endDate = null;
LocalDateTime endDateTime = null;
DateTimeFormatter[] formatters = {
DateTimeFormatter.ofPattern("ddMMyyyy HHmm"),

Choose a reason for hiding this comment

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

Good job on including so many datetime formats for Event class even when it is not one of the required increments 👍

@@ -0,0 +1,142 @@
package duke.ui;

Choose a reason for hiding this comment

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

nice UI class!

@@ -0,0 +1,120 @@
package duke;

Choose a reason for hiding this comment

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

very comprehensive test cases that tests for almost all features

package duke.ui;

import org.junit.jupiter.api.Test;

Choose a reason for hiding this comment

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

Maybe all these empty lines between import statements can be removed?

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