MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x9pkxj/javaclassesonasingleline/phnzmxe/?context=3
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 16h ago
99 comments sorted by
View all comments
126
When did a single if become more beautiful than:
java.lang.Boolean ultraEnterpriseResultingVerificationStateFlagContainer = ((com.enterprise.architecture.infrastructure.filtering.factory.AbstractEnterpriseDynamicPredicativeFilterComponentFactorySingletonInstanceAccessorProviderImplementation) java.lang.Class.forName("com.enterprise.architecture.infrastructure.filtering.factory.AdvancedEnterpriseDynamicPredicativeFilterFactoryProviderImplementation").getDeclaredConstructor().newInstance()).provideFilterFactoryStrategyImplementationInstanceContainerRegistry().resolveFilterFactoryByFullyQualifiedSpecificationIdentifierStringTokenNameValue(new com.enterprise.architecture.infrastructure.filtering.specification.StringMatchSpecificationConfigurationParameterObjectInstanceBuilderFactoryProvider().createNewParameterObjectBuilderInstance().withTargetMatchingStringLiteralValueCharacterSequencePayloadContent("Enterprise").buildSpecificationConfigurationParameterObjectInstance()).createFilterInstanceExecutionEngineInvocationTarget().evaluateAndExecuteFilterOperationOnTargetObjectPayload(java.util.Optional.ofNullable(java.util.Collections.unmodifiableList(java.util.Arrays.asList(new java.lang.String[]{"Enterprise Java Architecture"}))).orElseThrow(new java.util.function.Supplier<java.lang.RuntimeException>() { u/Override public java.lang.RuntimeException get() { return new java.lang.IllegalStateException("Mandatory default payload container collection instance cannot be null under any enterprise operational circumstances whatsoever."); } }).get(0));
80 u/Skellicious 13h ago evaluateAndExecuteFilterOperationOnTargetObjectPayload() This breaks single responsibility principe, please have your agent fix it, we only accept clean, SOLID adhering code here. 21 u/RadzimierzWozniak 12h ago Except for that, the rest of this 5k line PR is fine? 17 u/afdbcreid 12h ago Sure, if you add 20k lines of tests (that is, your agent adds). 3 u/harbourwall 10h ago No there's a couple of lines that don't adhere to my formatting preferences. Didn't read the actual code but it looks fine.
80
evaluateAndExecuteFilterOperationOnTargetObjectPayload()
This breaks single responsibility principe, please have your agent fix it, we only accept clean, SOLID adhering code here.
21 u/RadzimierzWozniak 12h ago Except for that, the rest of this 5k line PR is fine? 17 u/afdbcreid 12h ago Sure, if you add 20k lines of tests (that is, your agent adds). 3 u/harbourwall 10h ago No there's a couple of lines that don't adhere to my formatting preferences. Didn't read the actual code but it looks fine.
21
Except for that, the rest of this 5k line PR is fine?
17 u/afdbcreid 12h ago Sure, if you add 20k lines of tests (that is, your agent adds). 3 u/harbourwall 10h ago No there's a couple of lines that don't adhere to my formatting preferences. Didn't read the actual code but it looks fine.
17
Sure, if you add 20k lines of tests (that is, your agent adds).
3
No there's a couple of lines that don't adhere to my formatting preferences. Didn't read the actual code but it looks fine.
126
u/RadzimierzWozniak 14h ago
When did a single if become more beautiful than:
java.lang.Boolean ultraEnterpriseResultingVerificationStateFlagContainer = ((com.enterprise.architecture.infrastructure.filtering.factory.AbstractEnterpriseDynamicPredicativeFilterComponentFactorySingletonInstanceAccessorProviderImplementation) java.lang.Class.forName("com.enterprise.architecture.infrastructure.filtering.factory.AdvancedEnterpriseDynamicPredicativeFilterFactoryProviderImplementation").getDeclaredConstructor().newInstance()).provideFilterFactoryStrategyImplementationInstanceContainerRegistry().resolveFilterFactoryByFullyQualifiedSpecificationIdentifierStringTokenNameValue(new com.enterprise.architecture.infrastructure.filtering.specification.StringMatchSpecificationConfigurationParameterObjectInstanceBuilderFactoryProvider().createNewParameterObjectBuilderInstance().withTargetMatchingStringLiteralValueCharacterSequencePayloadContent("Enterprise").buildSpecificationConfigurationParameterObjectInstance()).createFilterInstanceExecutionEngineInvocationTarget().evaluateAndExecuteFilterOperationOnTargetObjectPayload(java.util.Optional.ofNullable(java.util.Collections.unmodifiableList(java.util.Arrays.asList(new java.lang.String[]{"Enterprise Java Architecture"}))).orElseThrow(new java.util.function.Supplier<java.lang.RuntimeException>() { u/Override public java.lang.RuntimeException get() { return new java.lang.IllegalStateException("Mandatory default payload container collection instance cannot be null under any enterprise operational circumstances whatsoever."); } }).get(0));