DEV Community

Discussion on: A month of clean code

Collapse
 
eimihar profile image
Rahimie Ahmad

as for me this static method doesn't introduce a new behaviour to the user model. design pattern wise, it basically uses static factory method (i actually like it), although i preferred to have some sort of EnrollmentRegistrationService for this.