5 ms·
The EnterpriseQualityCoding version of FizzBuzz[0] is the ultimate (hilarious) version of this. Though, there is still some room for development of node, js, et
by MAGZine 11y ago
The EnterpriseQualityCoding version of FizzBuzz[0] is the ultimate (hilarious) version of this. Though, there is still some room for development of node, js, etc versions.
[0] https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
- xirdstl 11y agoI don't know. Java seems like the one true language for the Enterprise version of FizzBuzz.
- ashark 11y agoThe Node version could be pretty great anyway. Huge list of modules required, multiple implementations of the same basic thing in use, separate modules for "fizz" and "buzz". And MongoDB used for something, for no good reason.
- sosborn 11y ago> And MongoDB used for something, for no good reason. Well, how else are you going to store the results before you print them to screen?
- munificent 11y ago"fizz", "buzz", and "fizzbuzz" should be separate microservices each with their own failover and redundancy systems.
- mbrock 11y agoMany years ago I stumbled on a programming golf contest on the old Something Awful forum. The challenge was to convert a byte string to a hex dump. I wrote it as a distributed JNI system with CORBA based RPC. The boilerplate stuff alone was like 500 lines. This is what I did for fun in high school. I wasted my youth.
- xirdstl 11y agoAgreed, but it needs a designation besides Enterprise. My mind is drawing a blank, though.
- redthrowaway 11y agoYou can write Java in any language.
- falcolas 11y agoI shudder to agree. Doing a code review from someone who wrote an entire program in Java formatted Python was one of the low points of my career. Trees upon trees of nearly empty directories, one sparse class per file (with the requisite getters and setters), factories to make factories... the horror.
- xirdstl 11y agoI created a xxxxFactoryFactory in a recent project. Partly for practical reasons and partly for satire.
- dkonofalski 11y agoWow. Just... wow. That is more amazing than most of the code I see on a daily basis.
- izzle49 11y agoI dont know needs more tests :)
- jonesb6 11y agoNo factory factories. 0/10, next application please.
- esaym 11y agoAh you beat me too it. I used to have parts of that and the dailywtf version hanging in my office: http://thedailywtf.com/articles/The-Fizz-Buzz-from-Outer-Space http://thedailywtf.com/articles/The-Fizz-Buzz-from-Outer-Spa...
- EC1 11y agoDoes anyone know what the candidate was actually trying to do here? Is it semi intelligible? I can't figure it out.
- vcarl 11y agoI also love this one. http://www.adamtornhill.com/articles/fizzbuzz.htm http://www.adamtornhill.com/articles/fizzbuzz.htm Fizzbuzz implemented as C++ compiler errors.
- ilurk 11y agoIt doesn't look like it was implemented following TDD. No recruiters would accept it.