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

[Jun Wei] iP #495

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

Conversation

chongjunwei
Copy link

@chongjunwei chongjunwei commented Aug 29, 2021

DukePro

"Your mind is for having ideas, not holding them." -- David Allen (source)

DukePro frees your mind of having to remember things you need to do. It's,

  • text-based
  • easy to learn
  • FAST SUPER FAST to use

All you need to do is,

  1. download it from here.
  2. double-click it.
  3. add your tasks.
  4. let it manage your tasks for you 😉

And it is FREE!

Features:

  •  Managing tasks
  •  Managing deadlines (coming soon)
  •  Reminders (coming soon)

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

public class Main {
    public static void main(String[] args) {
        Application.launch(MainApp.class, args);
    }
}

Copy link

@radiankrisno radiankrisno left a comment

Choose a reason for hiding this comment

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

LGTM overall! Maybe an improvement is to write javadocs for the methods and classes. Another one is to introduce package to the files.

@@ -0,0 +1,14 @@
public class Deadline extends Task {

Choose a reason for hiding this comment

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

You might want to add the javadoc/comment header for the classes and methods! Refer to this

@@ -1,10 +1,200 @@
import java.io.*;

Choose a reason for hiding this comment

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

Should this import statement be listed explicitly?

System.out.println(greeting);
File folder = new File("data");
folder.mkdir();
// System.out.println(file.mkdir());

Choose a reason for hiding this comment

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

It might be a good idea to delete unused code! 😄

System.out.println("____________________________________________________________");
System.out.println("Here are the tasks in your list:");
/*
for (int i = 0; i < count; i++) {

Choose a reason for hiding this comment

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

Might want to clean this up also!


public Task(String description) {
this.description = description;
this.isDone = false;

Choose a reason for hiding this comment

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

Should we use this here?

@@ -0,0 +1,14 @@
public class Event extends Task {

protected String at;

Choose a reason for hiding this comment

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

Variable name can be more descriptive!

public String toString() {
return "[T]" + super.toString();
}
}

Choose a reason for hiding this comment

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

Should end every file with a new line


public Deadline(String description, String by) {
super(description);
this.by = by;

Choose a reason for hiding this comment

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

Can give a more descriptive variable naming!

@@ -0,0 +1,13 @@
public class DukeException extends Exception {
public String error;

Choose a reason for hiding this comment

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

Might want to give a description to this variable as it is public

}

public String getDesription() {
return this.description;

Choose a reason for hiding this comment

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

Should we use done here?

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