This question already has an answer here:
- Dealing With Pressure in Interviews 5 answers
I have 7 years of working experience in programming in general and almost 5 in the programming language I use now. I like to consider myself pretty good at what I do and worked on some pretty complex projects that ended in success, learned a lot in all those years and even trained a few others in what I do.
Currently I am looking to change my job for personal reasons and I hit a big problem. The HR discussion is ok, written tests are ok, programming tasks are ok (both take-at-home and at company).
But i fail miserably when it comes to face-to-face technical discussions. Suddenly, I forget anything I know and start behaving like a junior, failing to answer even the most basic questions sometimes. I already failed 2 interviews due to this problem and don't know what to do about it. It has started affecting my morale.
True, sometimes they ask what I consider to be stupid questions (like the body of a specific function in a specific class, that I could find in 5 second on google or the IDE would autocomplete for me), but many times I fail even logic questions that are more related to thinking than to code knowledge. After the end of the talk I realize how easy some questions were and I feel like bashing my head on the table.
Any ideas on how to overcome this problem?