Hacker News new | ask | show | jobs
by elbrodeur 5839 days ago
The chances of you seeing a section of code that is central to their IP and the answer to the question, "how did they do it?" and, additionally, your ability to instantly understand it are very slim.

This is a great question for an engineer to ask. Being able to see if the code is smart (e.g. using shorthand instead of multiline logic), neat and documented is a great way to get a feel for how your potential future coworkers work. They've spent the last two to four hours grilling you and know you, how you code and how you solve problems pretty intimately -- why not get to know them better, too?

1 comments

Don't you ever watch movies about programmers? That's exactly how it works. The protagonist looks briefly at some code before declaring "Oh wow, this guy is good." For added realism, he should be typing the entire time.
You don't ask to see the code so you can identify the really good places, you ask so you can run away from the really bad places. It's the flip side of employers asking for basic coding tests: it's not there to tell you how good the good guy is, it's there to get rid of the guy with the great-looking CV who can't write "Hello, world".
Well, I can determine if code is bad in that much real time ^_^.

It takes about 15 minutes for me to satisfy myself if it's good, and how good.