-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
Description
Is your feature request related to a problem? Please describe.
Currently, add.go handles multiple responsibilities, making it difficult to read and maintain.
Describe the solution you’d like
Refactor add.go to separate utility functions, UI handling, and core logic into distinct modules.
Additional context
This refactor follows established best practices in software development:
- Separation of Concerns (SoC): Dividing code into distinct sections, each addressing a single concern, improves modularity, readability, and maintainability. (Wikipedia)
- Code Refactoring: Restructuring existing code without changing its behavior enhances clarity, reduces bugs, and makes future modifications easier. [Wikipedia]