Live data from Hacker News

Fifty Fizzbuzzes

vihart.com

51–60 of 64 posts

Re: Fifty Fizzbuzzes

#51
post #28
post #4

Vi's site is down from the onslaught. In the meantime, enjoy the ever-classic Fizz Buzz Enterprise Edition: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...

I opened the link thinking ”hah, what a gag!” But then I thought it’d be funny to try to find the core fizzbuzz logic. Turns out that it hits way too close to home, I just got really annoyed. Not sure what I expected.

As the original author, I apologize for your agony.

This is a common complaint from people I discussed the project with, and the obvious reason for the success of the project in terms of people contributing patches and issues.

Re: Fifty Fizzbuzzes

#53

I like this idea. I find it fascinating how many developers I've interviewed who still have not come across FizzBuzz, and how many of those cannot solve the problem. Some of the more interesting interviews I've given though have been with people who know the FizzBuzz problem, where I ask them to make the worst possible version of it that they can. It turns out to be more difficult than they think it will be, and a de…

octave

  a=[1:100];
  b=strcat({'','fizz'}([1+!mod(a,3)]),{'','buzz'}([1+!mod(a,5)]));
  a=num2cell(int16(cellfun(@isempty,b)).*a);
  b(cellfun(@isempty,b))=0;
  strcat(b,a)

Re: Fifty Fizzbuzzes

#57
post #21

Earlier quoted context omitted.

Using WordPress is "over-engineering"?

Yes

Wordpress is under-engineering. It's what you default to when you don't want to do any engineering and just deploy the standard blog solution that everyone's familiar with.

Re: Fifty Fizzbuzzes

#58
post #4

Vi's site is down from the onslaught. In the meantime, enjoy the ever-classic Fizz Buzz Enterprise Edition: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...

Not too long ago I had to deal with C# in the same style, which reminded me of it; and not surprisingly, there's also a C# version: https://github.com/jongeorge1/FizzBuzzEnterpriseEdition-CSha...

Or if you want to abuse dynamic and lambdas in C#:

https://github.com/tonyedgecombe/functionalfizzbuzz/blob/mas...

Re: Fifty Fizzbuzzes

#60

I like this idea. I find it fascinating how many developers I've interviewed who still have not come across FizzBuzz, and how many of those cannot solve the problem. Some of the more interesting interviews I've given though have been with people who know the FizzBuzz problem, where I ask them to make the worst possible version of it that they can. It turns out to be more difficult than they think it will be, and a de…

Can't solve because they weren't actually programmers or more because of deer in headlights?

Yes.
Post reply on HN