Title: I went on a job interview for a Quant position.<p>I wrote out some c++ and I used namespaces like: std::cout, std::merge, etc. I did not write: using namespace std;<p>The interviewer just lost it. Went on this rant that &quot;how can programmers now write such confusing code&quot;, &quot;just name space it ahead of time&quot;.<p>And he was just plain mad. Uncomfortable mad. I tried saying &quot;what if functions have the same name&quot;..he spouted off about &quot;how compilers are smart enough to know what the programmer wants based upon parameters provided and why would any programmer use functions with the same name and how so many people he talks to don&#x27;t know how to code but call themselves coders...and why didn&#x27;t I write my own code to merge 2 files. Did I need to use the std..&quot;<p>What does everyone else do?<p>using namespace std;<p>cout &lt;&lt; &quot;blah&quot; &lt;&lt; endl;<p>merge(...);<p>or<p>std::cout &lt;&lt; blah&quot; &lt;&lt; std::endl;<p>std::merge(...);<p>and I always use std:: instead of writing my own. I mean &quot;time tested&quot; versus &quot;have I had enough coffee...&quot;. In 25 years of c++ I always used std:: before re-creating.<p>Has anyone else had a horror interview like this?<p>Edit: I didn&#x27;t shout or get mad. I practiced my Buddhist learning and turned the other cheek without emotion.
Upvote: