Open
Description
The constructor of the Booking class currently requires 11 parameters, making it difficult to read, use, and maintain. A long parameter list increases the likelihood of errors, as developers must remember the exact order of parameters when creating an instance. Additionally, it violates the Single Responsibility Principle (SRP) by handling too many pieces of information in a single constructor.
Metadata
Metadata
Assignees
Labels
No labels