r/learnjava • u/nterminated • Jan 26 '26
Need feedback on a simple project.
Hi everyone. I have made a simple project in Java while learning Exceptions, Binary I/O and Serialization. It's a CLI-based todo-list generator where you can manage your tasks via commands.
This is a learning project, so I would really appreciate any feedback or suggestions for improvement.
Project link: https://github.com/C0DER11101/cli-todo
3
Upvotes
View all comments
Show parent comment
1
u/nterminated Jan 27 '26
Thanks for the detailed feedback, this is really helpful.
I should have instantiated and closed the
Scannerin the same scope (insideprompt()). I will rework that area so that resource creation and cleanup take place in the same scope.I will also revisit those method signatures where I used
throws Exceptionand try to be more specific about which exceptions are thrown.Really appreciate you taking the time to review the code.