Even then I can bullshit my way past all of those questions, and I'm sure most people who can't program can also do the same too.
Even then I can bullshit my way past all of those questions, and I'm sure most people who can't program can also do the same too.
That bullshit will work for both technical and non-technical people. Of course do I do follow my own mantra all the time? Does anyone follow it at at all times? No.
You need some kind of coding question at the very least to measure coding ability and a non-technical person just can't do that.
I suppose very easy things like consistent indentation width might be done perfectly in a codebase, but any non-trivial thing always could be "more X" or "less Y".
Probably the smartest answer there is.
When humans think in terms of design tradeoffs they are thinking in a domain where there exists no theoretical or mathematical technique to find the optimum. This does not mean a technique can never exist, it just indicates a lack of knowledge. The keyword is design. How do you design the best looking website vs. how do you design the shortest distance between two points? I would say for the later, we have enough knowledge and theory to say that the shortest distance between two points does not need to designed... it can be calculated.
Design implies alternative designs and tradeoffs due to the lack of techniques to determine or find an optimum. Calculation implies greater knowledge.
In fact, any interview problem with a global optimum is worthless for evaluating candidate's ability to handle ambiguity or demonstrate capacity for creativity, second order thinking, communication ...
Expecting candidates to lead with absolutism like in your post os a good recipe for finding Brilliant Jerks.
To say that global optimums are moot or don't exist is categorically wrong. Global optimums and trade offs exist in equal measure everywhere. I value good judgment in both.
Catering to one extreme is unwise on every level.
>Expecting candidates to lead with absolutism like in your post os a good recipe for finding Brilliant Jerks.
First off I never said or implied this. My post is just saying that not Everything is a design tradeoff. Second off are you implying I'm a Jerk? Did you just call me a Jerk?
That is actually the worst possible answer I can think of. Pretty much any answer would be better than that. It demonstrates that the person either:
1. isn't honest or
2. doesn't understand basic engineering concepts
edit: Given it's a non-technical interviewer I'd say something like "I never compromise on making sure the business objective is met. I value code quality and documentation but sometimes trade offs need to be made especially in a company this size."