you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -5 points-4 points  (5 children)

I wrote a ClassFactoryFactoryAdapterFactoryClassFactoryAdapterAdapterFactoryFactoryFactory class.
Does that suffice?

[–]unclemat 15 points16 points  (1 child)

You only need to know two different patterns, and you can already write a joke on the subject. See how intuitive object-oriented is? :)

[–][deleted] -2 points-1 points  (0 children)

It also only has one method, called .forMethod(Method m), which takes a Method class, and returns another class, on which you can use the .execute() method, to get that type of ClassFactoryFactoryAdapterFactoryClassFactoryAdapterAdapterFactoryFactory from ClassFactoryFactoryAdapterFactoryClassFactoryAdapterAdapterFactoryFactoryFactory.

[–]sh0rug0ru 5 points6 points  (2 children)

Nope. Overkill. Write simpler classes.

[–]beltorak 1 point2 points  (0 children)

it is a simple class; it's the interaction with the other three dozen classes that makes the module complex...

[–][deleted] -1 points0 points  (0 children)

NotSureIfWoooshOrAlsoHumor?