8

I hate this joke. It makes zero sense; not something I'd expect to see all over an app for devs!

A factory creates something, if I already have a problem, why would I need a factory to create more?

Comments
  • 6
    Even if you have a problem it does not mean you have a good problem architecture. So adding an interface, a factory and maybe a ProblemExecutor will make your problem a much more engineered enterprise problem
  • 1
    I'd say Problem is my interface, all I need is a ProblemHandler to deal with it!
  • 1
    Java loves a pattern and the old school Java philosophy is to try and solve things with recognised patterns. Hence, instead of your own bespoke problem, you've now got a pattern that's still a problem.
Add Comment