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

Following Javascript best practices. #4

Open
5 tasks
kessie2862 opened this issue May 8, 2023 · 0 comments
Open
5 tasks

Following Javascript best practices. #4

kessie2862 opened this issue May 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@kessie2862
Copy link
Owner

  • The code appears to be following the DRY principle by using functions and variables to avoid repetition. It also uses variables to store elements and data that are reused throughout the code.

  • The code also appears to be following the KISS principle by using simple and straightforward code structures and avoiding unnecessary complexity.

  • The code also appears to be following the YAGNI principle by only implementing features and functionality that are necessary for the task at hand. It only includes features that are required for creating and managing a task list, such as adding tasks, editing tasks, marking tasks as completed, and deleting tasks.

  • The code could benefit from more comments to explain the purpose of the code, functions, and variables, making it easier for other developers to understand and maintain the code.

  • The code does not handle errors or unexpected situations, such as when a user enters an empty task description. It's best practice to include error handling to prevent unexpected errors and improve user experience.

@kessie2862 kessie2862 added the enhancement New feature or request label May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant