Live data from Hacker News

Fizz Buzz in Tensorflow

joelgrus.com

71–80 of 85 posts

Re: Fizz Buzz in Tensorflow

#71
post #43

Earlier quoted context omitted.

Well, when you give a hilariously bad interview question...

It's not a bad interview question, if you think it is, you perhaps haven't had enough experience with candidates applying to programming jobs who talk a good talk but can't program to save their lives.

Well, technically, as a programmer and not enterpreneur you shouldn't be expected to have "experience with candidates applying to programming jobs who talk a good talk but can't program to save their lives".

Re: Fizz Buzz in Tensorflow

#72

Earlier quoted context omitted.

If that were a real situation, I wouldn't have, he over-engineered the shit out of it and while cool, I prefer devs who can solve simple problems simply; they get more work done for the price.

Sometime it is better to hire for culture, someone who is intelligent but also, and this is critical , can take a joke.

Yeah, I suppose the guy wouldn't feel good in the company anyway. Personally, I wouldn't either. Sense of humour is an essential part of good dev environment, IMO.

Re: Fizz Buzz in Tensorflow

#73
post #61

Earlier quoted context omitted.

Common enterprise OO problems. It is neither confined to Java nor representative of Java as used outside enterprise development.

> nor representative of Java as used outside enterprise development. It isn't? I've turned down a couple of sweet gigs, at times when I really needed the comfort of work-group structure and maybe even a pay check, because I assumed that (based on my reading) it was all like that. I knew from history, back in the days when it was called Oak that it was a pretty delightful language. Then WS-* and Enterprise OO happened…

I write NLP software in Java and we don't have any of that crap. We have had a couple devs pass through from that world, but we have largely avoided any of the architecture astronaut crap that plagues enterprise development.

It's a shame that the name "Java" has become synonymous with it, since it really isn't a bad language (as of Java 7, at least).

Re: Fizz Buzz in Tensorflow

#74
post #38
post #29

Earlier quoted context omitted.

FWIW, please be mindful of your biases. I recently had an interviewer with a major bank conglomerate who had some silly puzzle. I outlined a system for solving it in algorithmic notation, and the interviewer had no idea that such a response was appropriate and said sorry, that they were looking for someone with programming experience, not specific, just "many languages" ... Not saying you do this, but what if someone…

I hate puzzles too, especially the gotcha ones with esoteric knowledge required. But for FizzBuzz I explain the problem, explain that there is no trick and the simplest answer that produces the correct output will be fine. To solve it you need to know about building a loop, what the mod operator does, and maybe keeping state depending on how you build it. I tell them to write it in the language they know best. None o…

One of my friends failed an interview out of college where they asked him fizz buzz, and [using python] he created an array [list(range(1,101))] and then overwrote multiples of 3 with "fizz" multiples of 5 with "buzz" and multiples of 15 with "fizzbuzz."

Because it was an unconventional solution, the interviewer didn't like it.

Re: Fizz Buzz in Tensorflow

#75

Earlier quoted context omitted.

It's not a bad interview question, if you think it is, you perhaps haven't had enough experience with candidates applying to programming jobs who talk a good talk but can't program to save their lives.

Well, technically, as a programmer and not enterpreneur you shouldn't be expected to have "experience with candidates applying to programming jobs who talk a good talk but can't program to save their lives".

No one said programmers were expected to; however, not having that experience makes judgement of what is or isn't a bad question baseless. FizzBuzz and all such trivial code tests are fantastic interview questions because most applications can't program, that is exactly the point and purpose of FizzBuzz, weeding out liars of which there are many due to high salaries in comparison to other fields.

Re: Fizz Buzz in Tensorflow

#76
post #74
post #38

Earlier quoted context omitted.

I hate puzzles too, especially the gotcha ones with esoteric knowledge required. But for FizzBuzz I explain the problem, explain that there is no trick and the simplest answer that produces the correct output will be fine. To solve it you need to know about building a loop, what the mod operator does, and maybe keeping state depending on how you build it. I tell them to write it in the language they know best. None o…

One of my friends failed an interview out of college where they asked him fizz buzz, and [using python] he created an array [list(range(1,101))] and then overwrote multiples of 3 with "fizz" multiples of 5 with "buzz" and multiples of 15 with "fizzbuzz." Because it was an unconventional solution, the interviewer didn't like it.

That's exactly how I'd do it! What's supposed to be the better way? Modulo/division by three and five?

Re: Fizz Buzz in Tensorflow

#77
post #5

This whole thing is making fun of asking fizz-buzz to a senior programmer, but yet I've found it to be one of the best phone screen questions possible. For someone who is truly a senior programmer, they knock it out in about 30 seconds and we move on. For the ones who pretend to be senior programmers on their resume, it trips them up and I know right away that their resume is either a pack of lies or their previous c…

The thing is, there are a lot of people whose ability to code can be verified pretty easily without wasting the time of multiple people in your company. So why not do that?

Re: Fizz Buzz in Tensorflow

#78
post #74
post #38

Earlier quoted context omitted.

I hate puzzles too, especially the gotcha ones with esoteric knowledge required. But for FizzBuzz I explain the problem, explain that there is no trick and the simplest answer that produces the correct output will be fine. To solve it you need to know about building a loop, what the mod operator does, and maybe keeping state depending on how you build it. I tell them to write it in the language they know best. None o…

One of my friends failed an interview out of college where they asked him fizz buzz, and [using python] he created an array [list(range(1,101))] and then overwrote multiples of 3 with "fizz" multiples of 5 with "buzz" and multiples of 15 with "fizzbuzz." Because it was an unconventional solution, the interviewer didn't like it.

  for(var i = 1; i 

Re: Fizz Buzz in Tensorflow

#79
post #76
post #74

Earlier quoted context omitted.

One of my friends failed an interview out of college where they asked him fizz buzz, and [using python] he created an array [list(range(1,101))] and then overwrote multiples of 3 with "fizz" multiples of 5 with "buzz" and multiples of 15 with "fizzbuzz." Because it was an unconventional solution, the interviewer didn't like it.

That's exactly how I'd do it! What's supposed to be the better way? Modulo/division by three and five?

>Modulo/division by three and five?

And fifteen.

Re: Fizz Buzz in Tensorflow

#80

Earlier quoted context omitted.

Zavisi. Ako si mi rekao da mogu da koristim bilo koji jezik, onda je na tebi da pronađeš prevod ;)

Au secours! J'ai compris une-et-demi de ces réponses. Време ли е за Физз-Бузз?

يمكنك دائما استخدام مترجم جوجل
Post reply on HN