3 ms·
My answer would be: why are you asking me? Shouldn't I be asking you? Do you have coding standards here? Or is it going to be my job to decide on the coding sta
by mcv 9y ago
My answer would be: why are you asking me? Shouldn't I be asking you? Do you have coding standards here? Or is it going to be my job to decide on the coding standards?
- Qwertious 9y agoCoding standards are what everyone compromises/agrees on. The interview question is about your preference.
- jdc0589 9y agoand you would have missed the point of the question entirely. Regardless, thats a pretty unnecessarily aggressive response to an interview question; or maybe I'm just reading it that way.
- lwansbrough 9y agoI read it that way too, but maybe that's another reason for asking the question? ("Who is going to be hostile about insignificant decisions?")
- mcv 9y agoOr you would be missing the point of the answer. It's not meant to be aggressive, but to make a point. It's important that everybody uses the same coding style, regardless of personal preference. Spaces are fine, tabs are fine, but mixing them would be absolutely terrible. A programmer's personal preference for one or the other is irrelevant. What matters is that he's willing to adapt to the coding style of the company.
- khedoros1 9y ago> Spaces are fine, tabs are fine, but mixing them would be absolutely terrible. A programmer's personal preference for one or the other is irrelevant. What matters is that he's willing to adapt to the coding style of the company. That sounds like a better answer to the question right there. It's the "some though out response" that the interviewer was looking for, willingness to put the team's decisions ahead of your own, and so on.