3 ms·
And this is how we end up with classes like AbstractSingletonProxyFactoryBean
by scarface74 8y ago
And this is how we end up with classes like AbstractSingletonProxyFactoryBean
- lmm 8y agoNo, just the opposite. Languages with inadequate composition facilities forcing overly specialised single-purpose classes lead to AbstractSingletonProxyFactoryBean. Small composable abstractions are how you avoid it. Zygohistoric prepromorphism has the same kind of meme status as AbstractSingletonProxyFactoryBean, but the difference is that a zygohistoric prepromorphism is a one-liner you can compose together yourself out of the functions that the library in question makes available, whereas AbstractSingletonProxyFactoryBean is a class in its own right that the library in question has to define.