Add a comment
Top comments
COMMENTS
By
RichardPencil
| 29
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.
Having extraneous variables shows you might not have a real grip of the problem.
Reply
chyiochan
| 31
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.
Reply
eellik
| 7
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.
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.
By
BurnInDemonFire
| 30
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.
Keep
It
Simple
Stupid
Or, if you ever watched MythBusters, follow the Hyneman's examples.
Reply
chyiochan
| 31
Damnit, Dwight!
Having extraneous variables shows you might not have a real grip of the problem.
Keep
It
Simple
Stupid
Or, if you ever watched MythBusters, follow the Hyneman's examples.