Live data from Hacker News

What's wrong with this code, really?

cvmountain.com

201–210 of 217 posts

Re: What's wrong with this code, really?

#210

The article's point about writing code that does what it says it does is fine. But as an interview question, I have trouble imagining that candidates won't figure out that this is a game of "guess the answer I'm looking for" and say that they would rewrite this code. A better question would be, there's tremendous deadline pressure, the company is in imminent danger of losing a giant deal if we don't have working code…

The correct answer is "This code looks ugly, and bad".

Couldn't have said it better.
Post reply on HN