Pankraz76 commented on PR #2326: URL: https://github.com/apache/maven/pull/2326#issuecomment-2873836165
https://refactoring.guru/design-patterns/factory-method Considering factory adhering to creational design pattern its supposed to `create` (what) stuff like shown in pr, not to `do` (how). > sake of having methods collocated with the data. yes this is considered OOP, IoC, SRP, and SOC avoiding the `feature envy`. Our factory is actually an worker which is considered two different kind. Might be related but im sure its not one and only. Grouping data and its entourage; companion into dedicated classified dimensions. - https://en.wikipedia.org/wiki/Object-oriented_programming - https://en.wikipedia.org/wiki/Inversion_of_control When this factory is handling 100 products im sure they wont all gather inside on place. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org