4 ms·
I initially expected this to be an example making fun of Java.
by blunte 5y ago
I initially expected this to be an example making fun of Java.
- skytreader 5y agoLook, this class name is pain in the eyes to read, let alone understand, but even I could immediately tell it isn't about Java because the name does not end with at least three design patterns. CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughterSingletonStrategyFactory would be the Java equivalent. Has anyone checked Android's codebase?
- kroltan 5y agoWoah man, do you expose your SingletonStrategyFactory-s to the public? That's risky API design, I would recommend you at least put it behind a Manager, or ideally a ManagerDependencyFactory.
- ryandrake 5y agoIf you're a SeriousEnterpriseProgrammer, you also need a CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughterSingletonStrategyFactoryProxy and CNLabelContactRelationYoungerCousinMothersSiblingsDaughterOrFathersSistersDaughterSingletonStrategyFactoryProxyBuilder.