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
  • 1 View
  • 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

Discovered something and am looking into a bit of incite as to why one
I discovered something odd that I can't explain. If someone here can see what
I discovered containsAll() (a List interface method) during some coding today, and it looks
I discovered Microsoft's .Net charting controls from another post here, and so far I
I discovered NHaml some days ago and it's a great project. When I try
I discovered today that I can switch back to a branch even after I
i discovered today that Windows 7 comes with a very impressive MathPanel utility, for
I discovered interesting features provided by the maven dependency plugin. I've analyzed one of
I discovered(*) today that, depending on the server, my TSQL commands were case-sensitive, meaning
I discovered today in iReport that I cannot set the initial value expression of

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.