4 ms·
Look, 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 wit
by skytreader 5y ago
Look, 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.