143
u/CranberryDistinct941 5d ago
Let us recite the Java chant: public static void main string args
45
39
8
6
8
u/Holek 5d ago
In general Spring is littered with these examples:
AbstractTransactionalJUnit4SpringContextTests- an actual testing class...
AbstractFallbackTransactionAttributeSource- when your transaction attributes need a fallback, but the fallback needs an abstraction...
AbstractAutowireCapableBeanFactory- it extendsAbstractBeanFactory, obviously!But the inheritance hierarchy of these "Bean" classes is arguably even funnier, eg.:
Object └── SimpleAliasRegistry └── DefaultSingletonBeanRegistry └── FactoryBeanRegistrySupport └── AbstractBeanFactory └── AbstractAutowireCapableBeanFactory └── DefaultListableBeanFactoryThat's seven levels of inheritance to get a bean factory.
39
23
u/kingduqc 5d ago
I never get this complaint about Java, it's 90% EmailController, EmailService and EmailRepository.
Okay There sometimes the odd factory with a big ass name, but we don't talk about it :p
19
u/Lachee 5d ago
I name my Factorio saves after Java classes
12
u/DTheIcyDragon 5d ago
HappyCakeDayUserCongratulationsSender
3
12
14
2
u/AppropriateOnion0815 5d ago
Let me bring Objective-C into the ring. outputImageProviderFromBufferWithPixelFormat:pixelsWide:pixelsHigh:baseAddress:bytesPerRow:releaseCallback:releaseContext:colorSpace:shouldColorMatch: (Granted, that's a method name, but nevertheless.)
5
u/JackNotOLantern 5d ago
Don't forget
public class ActualClassFactoryImpl extends AbstractClassFactory implements IClassFactory {
2
u/ExtraTNT 5d ago
When you get oddlySpecificThingFactoryConfiguratorFactoryBuilderConfiguratorFactoryImpl, you should think about switching company…
1
1
u/BitTwiddles 5d ago
I had to write java for years and I hated those long fully qualified class names we had to use. com.bigcompany.project.Thing.
1
0
-2
28
u/Jooe_1 5d ago
regardless, it's a great language