Main Menu

FizzBuzz: EE

Started by Darren Dirt, March 20, 2019, 08:32:06 AM

Previous topic - Next topic

Darren Dirt

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
_____________________

Strive for progress. Not perfection.
_____________________

Mr. Analog

Pfft hahaha I nearly spit my coffee

SERIOUS BIDNESS! :rofl:
By Grabthar's Hammer

Darren Dirt

#2
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...
_____________________

Strive for progress. Not perfection.
_____________________

Mr. Analog

LOL

Sent from my SM-T810 using Tapatalk

By Grabthar's Hammer