GlenKPeterson / Paguro

Generic, Null-safe, Immutable Collections and Functional Transformations for the JVM
Other
312 stars 24 forks source link

Implementation and Design Refactoring #50

Open WRH1997 opened 1 year ago

WRH1997 commented 1 year ago

Here are some implementation and design-level refactoring that I hope could be beneficial to the maintainability, understandability, and testability of your project.

3 implementation-level refactorings have been implemented. Namely:

Additionally, 3 design-level refactorings have been implemented:

Attached is a document detailing these changes for reference: Refactoring Description.pdf

GlenKPeterson commented 1 year ago

I gave this a quick once-over and intend to come back and review it more carefully. I am honored that you or your professor chose this code to review! It looks like you ran a tool against this code. What tool or tools? I'll give some feedback on a few individual files now, and hopefully circle back for some bigger-picture comments later.

GlenKPeterson commented 1 year ago

I need to open the larger changes in an IDE to review them when I have more time. Maybe on the weekend? Thank you again for your attention to this project. Even if I don't accept proposed changes, the act of considering each one should make the project better. Feel free to disagree or explain.

WRH1997 commented 1 year ago

Thank you for your attention towards this pull request. I appreciate your kind words! Please take your time in reviewing the changes - no rush. As for the tool used, it was DesigniteJava, which my professor, Dr. Tushar Sharma at Dalhousie University, had a hand in developing. Even if the changes are rejected, I appreciate your time reviewing them. Please let me know if anything needs explanation or if you would like some changes implemented to my pull request.