Righteous Wrath Online Community

General => Tech Chat => Topic started by: Darren Dirt on March 20, 2019, 08:32:06 AM

Title: FizzBuzz: EE
Post by: Darren Dirt on March 20, 2019, 08:32:06 AM
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition

This is the good stuff.

...the pull requests are genius.

But the source? OH, THE SOURCE!


package com.seriouscompany.business.java.fizzbuzz.packagenamingpackage.interfaces.stringreturners;

public interface StringStringReturner {

public String getReturnString();

}


#NECESSARY
Title: Re: FizzBuzz: EE
Post by: Mr. Analog on March 20, 2019, 08:39:44 AM
Pfft hahaha I nearly spit my coffee

SERIOUS BIDNESS! :rofl:
Title: Re: FizzBuzz: EE
Post by: Darren Dirt on March 20, 2019, 11:03:33 AM
the interfaces are nothing, you should see all of the FACTORY code.

Again, #NECESSARY

...how long can these names get?

https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition/blob/master/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/strategies/adapters/FizzBuzzOutputStrategyToFizzBuzzExceptionSafeOutputStrategyAdapter.java

public void output(final String outputStringToOutput) {
try {
this._fizzBuzzOutputStrategy.output(outputStringToOutput);
} catch (final Exception exceptionFromDoingOutput) {
// We're the enterprise...we don't get exceptions!
} catch (final Throwable throwableFromDoingOutput) {
// We're the enterprise...we don't get throwables either!
}
}



...I am laughing on the outside, on the inside I am crying because this is the JavaNerdWorld that I am diving into now...
Title: Re: FizzBuzz: EE
Post by: Mr. Analog on March 20, 2019, 11:11:24 AM
LOL

Sent from my SM-T810 using Tapatalk