Skip to content

Refactoring of add.go due to increasing complexity #98

@S4tvara

Description

@S4tvara

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]

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions