Too clever

By DamnGurl - 12/02/2021 02:58 - United States - Kula

Today, during a programming interview, I provided the right approach and the right answer as agreed by the interviewer, but used some extra variables with proper names. Guess who is not selected for the next round due to those extra variables. FML
I agree, your life sucks 846
You deserved it 166

Same thing different taste

Top comments

Wouldn't your compiler warn you about unused variables during the build phase, and give you a chance to delete them? Having extraneous variables shows you might not have a real grip of the problem.

Yeah what they want is for you to be direct and understand the problem specifically; A self-reflective con that can actually harm you is being overly-divulsive and complicating things when the answer is actually simple.

Comments

Wouldn't your compiler warn you about unused variables during the build phase, and give you a chance to delete them? Having extraneous variables shows you might not have a real grip of the problem.

Yeah what they want is for you to be direct and understand the problem specifically; A self-reflective con that can actually harm you is being overly-divulsive and complicating things when the answer is actually simple.

We don't know the programming language. Could be one without compilers or build phases, or where extra variables are no big deal (are they a big deal in any modern language anyway?) Sounds to me like you dodged a bullet there, OP. Requiring a by-the-book solution in a creative environment with muliple possible approaches to a problem seems like a rigid workplace.

Employers want you to solve problems quickly and efficiently. It's called the KISS method. So next time this happens, remember; Keep It Simple Stupid Or, if you ever watched MythBusters, follow the Hyneman's examples.