News for hackers. Stuff that matters.
Re:Ask HN: What are the most requested algorithms during tec... by bryanrasmussen on Tuesday February 07, 2017 @09:21AM (#13589496)
or it's an indicator that they get flustered coding in front of people. I definitely underperform when pair coding, coding on a whiteboard instead of a computer I'm familiar with? Probably not my best work.
Re:Ask HN: What are the most requested algorithms during tec... by jcadam on Tuesday February 07, 2017 @09:32AM (#13589573)
I was such a nervous wreck during my first technical interview that I couldn't remember how to write a loop. Seriously.

"I need to repeat this sequence of operations an indeterminate number of times... if only there were some programming construct that could help me out here..."

So I reached back to my Apple II BASIC days and whipped out the trusty GOTO. The look on the interviewer's face was priceless.

Re:Ask HN: What are the most requested algorithms during tec... by Declanomous on Tuesday February 07, 2017 @11:27AM (#13590424)
I've forgotten how to define a new variable before, as well as legal variable types. I've even forgotten how to write a select statement in SQL before, which is horrifyingly embarrassing in retrospect. I'm not bad at pair programming, but I seem to forget everything I know when asked to recall it in novel contexts. I'm sure I could have typed out a legal select statement if I had a keyboard, but writing it on a whiteboard in front of 4 people I've never met in a location I've never been to before made me forget everything I knew.

It really doesn't get much worse than forgetting how to write a select statement.

Re:Ask HN: What are the most requested algorithms during tec... by bhouston on Tuesday February 07, 2017 @10:06AM (#13589788)
> or it's an indicator that they get flustered coding in front of people. I definitely underperform when pair coding, coding on a whiteboard instead of a computer I'm familiar with? Probably not my best work.

One needs to evaluate people. I would prefer to evaluate people using a metric close to what is required in the job -- coding.

If people have issues that they can not be evaluated properly, then what I am supposed to do? Just hire anyone no matter how they do?

Of course coding isn't the only metric but it is one of a couple. If you write an algorithm that has indexing errors or no stopping condition or just does't work, it isn't a good thing. I do rely on coding on whiteboards or paper a lot more when it is someone new in their career and do not have many past accomplishments to point to.

Re:Ask HN: What are the most requested algorithms during tec... by Wazzymandias on Tuesday February 07, 2017 @11:13AM (#13590309)
Whiteboard coding isn't really a metric close to what is required in the job though.

I like to write my algorithms on paper first before writing code, but doing it on a whiteboard in 45 minutes while explaining my work and checking for edge cases can be a bit unreasonable.

I don't think the contention is about testing a programmer's ability, but the way their ability is tested. Personally I think pair programming is a better method of testing someone's ability to code AND their ability to collaborate with others.