Open JuanDBta opened 1 year ago
In order to accomplish DRY & KISS rules, please review your indentation in order to make your code more readable and simpler: https://github.com/JuanDBta/ToDoList-Project/blob/e1f31798426be06b35c8eb0f1b52008929368d37/src/modules/task_class.js#L18-L25
Other suggestion I can give you for your code in order to accomplish DRY, KISS & YAGNI rules is to refactor your functions like this https://github.com/JuanDBta/ToDoList-Project/blob/e1f31798426be06b35c8eb0f1b52008929368d37/src/modules/task_class.js#L12-L16
to arrow functions.
Reviewing my code having in mind DRY, KISS, YAGNI rules. Let see what we find.