Sup Forums, have you ever had to conduct an interview? Any hilarious stories.
Today I was asked to conduct an interview for an intern position. Usually the guys who show up use Java, Python or C# with the occasional C++ user. The guy I got was a Rust user.
Not knowing much about Rust, I decided to give him a simple problem:
Remove all duplicate items in a vector of strings.
Ultimately, I wanted him to do it without overhead and in linear time, but I was happy if he could demonstrate functional code. The moment I asked him the question though, I could see his eyes widen. I could sense his hands fidgeting when I gave him the whiteboard marker. It was honestly a simple task and being an intern I wasn't expecting much.
After 20 seconds of silence, the kid started writing out a for loop (I think, I didn't pay attention to the syntax) which made me feel relaxed because he was going for the right idea. No function definition though, which I wasn't impressed with.
Then he suddenly stopped and slowly turned around, asking me if he could start again. Why not, go ahead I said, wondering where he's going with this. Is he going to write the definition? There was room above...
No, he rubbed the whole thing out and wrote a single line statement to remove duplicates. What the fuck?
I told him I wanted him to do it without any external functions, he then started talking about crates and code reuse. I had no idea what this kid was on about but I didn't want to make things stressful so I listened to the end.
I then shook hands with him and thanked him for coming. No, he's not going to get the job. Despite him being a college student, he didn't leave me with a good impression of Rust users though.