Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3304628
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:04:56+00:00 2026-05-17T21:04:56+00:00

I discovered the FizzBuzz question today at coding horror . Great article. However, something

  • 0

I discovered the “FizzBuzz” question today at coding horror. Great article. However, something in one of the user-comments confused me — here’s the quote:

Geez guys – EVERY ONE of you who gave
example code – EVERY ONE – hard coded
the FIZZ and BUZZ conditions…

It sounds to me like this poster is ridiculing people for “hard-coding” conditions, ie :

if(i % 3 == 0)
...

What is point the poster is trying to make? Is there another way to specify conditions in a program?

Thanks for taking the time!

Dan

the FIZZ and BUZZ conditions…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:04:57+00:00Added an answer on May 17, 2026 at 9:04 pm

    The point of Fizz Buzz is to quickly weed out non-programmers, not find the best programmer. Any reasonable function that meets the specification is acceptable for this test.

    If you don’t hardcode, great, you extra-pass. But, that doesn’t get you out of the hard questions that are following. I usually increase the difficulty with each question, but I don’t want to waste time if the candidate totally can’t answer simple questions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I discovered Tapestry 5, quite recently, its clear separation between view and controller, the
I discovered yesterday that I can't have a Class that uses a field named
I discovered a weird issue in zip file's mime type when I worked on
I discovered this while using ruby printf, but it also applies to C's printf.
I just discovered that the caps lock and shift key (and probably some more
I've just discovered that a team I've been working with produces a Windows app
I've discovered a rather odd problem, which I think I know how to explain;
I recently discovered a table in our Sybase database at work that uses a
I just discovered that every request in an ASP.Net web application gets a Session
I have discovered a flaw in my understanding of Ruby or programming theory or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.