Jesus Suarez

Results 6 issues of Jesus Suarez

Proposal: It is proposed to implement the Composite pattern to hierarchically structure entities such as products, categories, and shopping carts in the project. A common interface will be created to...

THIS ISSUE IS POSTED AS A COLLEGE ASSIGNMENT I recommend applying the "Introduce Null Object" refactoring technique. In the HotelRentalSystem code, the NullOption class is used as a placeholder to...

THIS ISSUE IS POSTED AS A COLLEGE ASSIGNMENT I recommend applying the "Replace Type Code with State/Strategy" refactoring technique in this code. The current implementation uses a switch statement to...

THIS ISSUE IS POSTED AS A COLLEGE ASSIGNMENT I recommend employing the "Replace Conditional with Polymorphism" refactoring technique. Instead of relying on a switch statement to handle menu options, consider...

Proposal: The Decorator pattern would be advantageous when implementing a payment processing system that requires adding additional functionalities, such as discounts, taxes, or specific validations, without altering the original structure...

The suggestion is to apply the Facade pattern to the existing code by creating the InmigrationFacade class to simplify the interface and enhance modularity. This class will act as a...