Hashir-Jamil / LongBox

MIT License
1 stars 1 forks source link

[BR19] Too big method initComicCollectionPage() #24

Closed alisina97 closed 7 months ago

alisina97 commented 7 months ago

The initComicCollectionPage() method in the ComicRepositoryPanel class is too long and complex, which violates the Single Responsibility Principle (SRP) and makes the code harder to understand and maintain. Impact: Decreased readability: Large methods are harder to understand and navigate, especially for new developers or during code reviews. Maintenance issues: Changes or updates to the functionality of this method can be challenging and error-prone due to its size and complexity. Recommendation: Refactor the initComicCollectionPage() method into smaller, more focused methods that handle specific responsibilities. This will improve code organization, readability, and maintainability.

SupaHacka02 commented 7 months ago

Divided initComicCollectionLogic() into separate functions; commit# 269049f