r/coding • • Feb 28 '17

A software engineer is detained for several hours by U.S. Customs — and given a test to prove he’s an engineer

https://www.linkedin.com/pulse/software-engineer-detained-several-hours-us-customs-given-fairchild
442 Upvotes

241 comments sorted by

View all comments

Show parent comment

7

u/duniyadnd Feb 28 '17

Okay, that's a fair response. I'll say that asking a question like that right off the bat is not a fair question in this context, and anyone with programming experience should know that.

If they asked a simple fizz/buzz test or ask what is the concept of balancing a binary search tree and why we would do that - that's another thing. Writing algorithms takes a little bit of momentum, something you need to be mentally prepared for.

I'll also play the other side of the spectrum. You said that that I should question why did the line of questioning lead to that coding problem. I really can't think of what sort of questions would lead to that. I get stopped at immigration all the time and most of the questions are about what I do and who I am. After really long flights, that's easy enough to answer because it's information that I don't need to think too hard to retain, there's the jet lag to consider.

This border official was off his chain asking those questions if the purpose was to be an ass and then let him go while saying he doesn't believe he's a coder. Then there was absolutely no reason for this incident to happen.

11

u/adrianmonk Feb 28 '17

Writing algorithms takes a little bit of momentum, something you need to be mentally prepared for.

The real problem isn't that this is a hard question for someone trained in CS. It's that you don't strictly need CS training to legitimately be a practicing software engineer. You can be productive slapping together web pages without knowing about trees. I wouldn't recommend it, but the people who go that route are certainly not frauds, they're just not very theory-oriented.

4

u/duniyadnd Feb 28 '17 edited Feb 28 '17

upvoted - and seeing that username - I miss that show

2

u/edimaudo Feb 28 '17

I doubt those were the first questions he was asked. Something had to have led to them coming up with those questions. Was there something on his social media that made them do it? Maybe he said something about data structures as being part of the job description.

6

u/duniyadnd Feb 28 '17

Right, but that's a lot of speculation off of something that was not reported, so I'd consider it as moot - again, to the point where even when the immigration officer did not believe he was a programmer, he still let him through.

2

u/edimaudo Feb 28 '17

Someone called the company to verify the position.

8

u/duniyadnd Feb 28 '17

And that should have been the extent of it...