Skip to content
No refunds
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src/main/java/edu/odu/cs/jmcateer a friend of mine insisted I push a "bugfix" of theirs Mar 13, 2019
.gitignore
build.gradle initial implementation + docs Mar 13, 2019
gradlew
gradlew.bat initial implementation + docs Mar 13, 2019
readme.md
settings.gradle initial implementation + docs Mar 13, 2019
simplest-run.sh initial implementation + docs Mar 13, 2019

readme.md

Object-Oriented FizzBuzz

Written in Java, of course

I had an entertaining discussion with some IBM engineers today, and one of the things we talked about was the "Least efficient FizzBuzz" implementation.

This repository is a recap of a program design we came up with, pull requests to "optimize efficiency" are welcome. Pull requests which actually optimize efficiency will be ignored and sent to an Eclipse engineer as a feature enhancement request.

Usage

This is built using gradle, so you'd think gradle run would be enough. It isn't, because we read a number from STDIN.

The quickest way to run this on a unix machine with gradle installed is to run ./simplest-run.sh. Enjoy, have a nice day.

If you are running windows without gradle installed and without a JVM, install a JVM first and come back.

Got a JVM?

Great. Run .\gradlew.bat build, then you can invoke the program like so:

java -cp build\libs\oo-fizzbuzz.jar edu.odu.cs.jmcateer.FizzBuzzMain

Congratulations! You've missed out on 15 minutes of time that could have been spent productively.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.