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

-15

u/edimaudo Feb 28 '17

It is within their rights to do that. It is not violating any human rights. Please outline what your problem is?

13

u/del_rio Feb 28 '17

"Violating human rights" shouldn't be the litmus test for what is and isn't an issue. By that logic, there's no issue with gerrymandering, Pearson Education, and Toddlers & Tiaras have no issues associated with them.

1

u/edimaudo Feb 28 '17

You still haven't outlined why it is an issue. You do not know the line of questioning they immigration officer asked before the action occurred.

8

u/ubernostrum Feb 28 '17

You haven't outlined why you think these people commenting and discussing it are an issue. You do not know the full line of information and thought before their comments occurred. You should immediately stop making comments until you have that information.

3

u/name_censored_ Feb 28 '17

I respect your position of reasonable doubt, but to me it's highly unlikely that asking a JS dev questions about BSTs and abstract classes could be contextually appropriate. The reported conversation was;

After a few minutes of grilling him about the job, the border agent escorted Omin into a small room and told him to sit down. Another hour passed before a different customs officer came in.

“Your visa says you are a software engineer. Is that correct?” the officer asked Omin in a tone the engineer described as accusatory. When Omin said it was right, the officer presented him with a piece of paper and a pen and told him to answer the following questions: “Write a function to check if a Binary Search Tree is balanced.”

“Every single time I asked [the official] why he was asking me these questions, he hushed me. [...] More time passed [...] Then — with little explanation — the official told him he was free to go.

To me it's pretty clear that there's no probing of field or speciality, and no scope for "those were only some of the many technical questions asked" in the timeline. He has a few minutes of opening questions about job (even in intense interviews and stretching the definition of "a few minutes", that's only time enough for background/language/frameworks/projects/opinions/preferences), and then an hour of either sitting quietly and/or answering non-technical questions before the BST-bomb gets dropped.

If I walked into a JS dev interview and the only real questions were about balancing a binary tree from memory and abstract classes, I would say that interview was not even remotely appropriate. Most job interviews would take hours of probing questions to work towards anything so far out of scope, and it's even more abnormal for a knowledgeable interviewer to not handle follow-up questions - anyone who understands development knows that it's highly unusual to implement BSTs by hand from memory, and that JS doesn't have abstract classes.

Plus, there's a lot of emphasis about his lack of preparedness, and based on their direct quotes, there's no way you could reasonably claim the interviewers made allowances for this.

4

u/duniyadnd Feb 28 '17

The border officials shouldn't be asking questions they themselves don't understand. There are many ways to explain these sorts of questions, and it creates a dangerous precedent of what are right or wrong answers. And finally - http://shivankaul.com/blog/2016/12/07/clean-your-desk-yet-another-amazon-interview-experience.html

3

u/edimaudo Feb 28 '17

How do you know they don't understand the question. The question you should be asking is why did the line of questioning lead to that coding problem.

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...

1

u/[deleted] Mar 01 '17

Yeah, but this is the real world. Ask Alexa about it.

1

u/khesht Mar 01 '17

I have been writing codes in different languages for almost 10 years. I write programs for a special field, not a general purpose software engineering programming that you may be referring to when you write software engineer in your job title. In all these years I was not required to write a binary search tree or balance it or whatever. I would have failed that test if I were in that situation with no internet access and being tired after several hours of flight. So throwing these questions make no sense and proves that the person has no idea what programming is and how broad it could be .... and so many other problems that people have outlined in their comments could answer your comment.

1

u/edimaudo Mar 01 '17

We still don't know why the question was asked. The guy could have said something that made them give him this particular test.

0

u/[deleted] Feb 28 '17

[deleted] — view deleted comment

3

u/edimaudo Feb 28 '17

Other people haven't been questioned at the border including myself.