Originally posted by threaded
- 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!
Reply to: Attn code monkeys - re: FizzBuzz
Collapse
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.
Logging in...
Previously on "Attn code monkeys - re: FizzBuzz"
Collapse
-
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.
-
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:
-
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.Originally posted by AtWWhy can't it be done in assembly?
threaded.
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:
-
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:
-
http://tickletux.wordpress.com/2007/.../#comment-3015Originally posted by _V_I would like to see AtW's solution using XML, XSLT and XPATH.
Leave a comment:
-
-
See my comment on the link:Originally posted by MarillionFanFar too many people do what they're told and dont see the big picture.
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:
-
No wonder you keep getting bounced off site.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.
Leave a comment:
-
"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:
-
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:
-
"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:
-
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:
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Labour’s near-silence on its employment status shakeup is telling, and disappointing Today 07:47
- Business expenses: What IT contractors can and cannot claim from HMRC Jan 30 08:44
- April’s umbrella PAYE risk: how contractors’ end-clients are prepping Jan 29 05:45
- How EV tax changes of 2025-2028 add up for contractor limited company directors Jan 28 08:11
- Under the terms he was shackled by, Ray McCann’s Loan Charge Review probably is a fair resolution Jan 27 08:41
- Contractors, a £25million crackdown on rogue company directors is coming Jan 26 05:02
- How to run a contractor limited company — efficiently. Part one: software Jan 22 23:31
- Forget February as an MSC contractor seeking clarity, and maybe forget fairness altogether Jan 22 19:57
- What contractors should take from Honest Payroll Ltd’s failure Jan 21 07:05
- HMRC tax avoidance list ‘proves promoters’ nothing-to-lose mentality’ Jan 20 09:17

Leave a comment: