• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Attn code monkeys - re: FizzBuzz"

Collapse

  • Magnus
    replied
    Originally posted by threaded
    Doh! I think I get the joke now. The posts are people writing answers but the answers have subtle and not so subtle bugs in them.
    Exactly, and I'm disappointed no-one posted any code in this thread. I saw this discussed on several web sites and in every one of them the first instinct of lots of readers was to post their version of the code, and about half of them were wrong. That would have made for a pretty amusing thread here.

    Leave a comment:


  • threaded
    replied
    Doh! I think I get the joke now. The posts are people writing answers but the answers have subtle and not so subtle bugs in them.

    Leave a comment:


  • threaded
    replied
    Originally posted by AtW
    Why can't it be done in assembly?

    threaded.
    Well comment #3 shows quite a lack of knowledge and/or experience. In assembly I can do that without creating a third variable, and many HLLs actually have this embedded in a function, and in a threaded or stack based language I can think of three or four isomorphisms to the xor trick.

    That's actually one of the issues I have with interviews. I know the stuff so much better than the interviewer that I have to work out, pretty quickly, their competance level, and give them the answers they expect. You also have to check out their personality types: many interviewers like to show off in front of their boss, so you have to give defference be a little bumbling etc. etc.

    So, my conclusion is: what a load of ball5.

    Leave a comment:


  • OwlHoot
    replied
    Someone mentioned this FizzBuzz thing the other day at work, and one site I looked at spoke about "golf" and "golfing". In the context it appeared this related to obfuscated and/or compact programming, but I'd never come across the expression.

    Leave a comment:


  • Spacecadet
    replied
    Originally posted by _V_
    I would like to see AtW's solution using XML, XSLT and XPATH.
    http://tickletux.wordpress.com/2007/.../#comment-3015

    Leave a comment:


  • _V_
    replied
    I would like to see AtW's solution using XML, XSLT and XPATH.

    Leave a comment:


  • Pondlife
    replied
    Originally posted by MarillionFan

    Quality MF

    Leave a comment:


  • Spacecadet
    replied
    Originally posted by MarillionFan
    Just seen it, classic

    Leave a comment:


  • MarillionFan
    replied
    and my comment

    Leave a comment:


  • Spacecadet
    replied
    Originally posted by MarillionFan
    Far too many people do what they're told and dont see the big picture.
    See my comment on the link:

    Having read almost every comment on this story I’d probably sack the lot of you.
    Where’s the input parameters?
    Where’s the modularity?
    What happens if in 6 months time the requirements change to 4 and 7 being the fizzbuzz numbers?
    What happens when the program needs to be used by the french team who need le fizz le buzz?
    What happens when the program is up-scaled to cover 0-1000

    Leave a comment:


  • Churchill
    replied
    Originally posted by MarillionFan
    "Meaning you couldn't do it"

    No its very easy. I just don't see why.

    Far too many people do what they're told and dont see the big picture.
    No wonder you keep getting bounced off site.

    Leave a comment:


  • MarillionFan
    replied
    "Meaning you couldn't do it"

    No its very easy. I just don't see why.

    Far too many people do what they're told and dont see the big picture.

    Leave a comment:


  • SallyAnne
    replied
    Originally posted by MarillionFan
    "Things like this are interesting because they serve to confirm what you always suspect: your co-workers are idiots.

    I had to do the test - couldn't resist - took under 2 minutes."

    Which confirms my reasoning that people who undertake these tests are idiots. It has no commercial value to do it, benefits no-one and uses up resource but alas most techies just do it as opposed to asking the question. Why?

    Meaning you couldn't do it

    I struggled like - if I could have the values 1 - 100 stored in a table, then I would have done it in minutes with a little pl/sql function.
    But faced with a SQL*Plus session alone - nah gave up after 5 mins, unless I'm allowed to change the code each time.

    I must be thick

    Wah

    Crisps well and truly pissed on

    Leave a comment:


  • MarillionFan
    replied
    "Things like this are interesting because they serve to confirm what you always suspect: your co-workers are idiots.

    I had to do the test - couldn't resist - took under 2 minutes."

    Which confirms my reasoning that people who undertake these tests are idiots. It has no commercial value to do it, benefits no-one and uses up resource but alas most techies just do it as opposed to asking the question. Why?

    Leave a comment:


  • bobhope
    replied
    Things like this are interesting because they serve to confirm what you always suspect: your co-workers are idiots.

    I had to do the test - couldn't resist - took under 2 minutes.

    Leave a comment:

Working...
X