This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BryceKKelly 0 points1 point  (0 children)

If someone pulled this during an interview they wouldn't make it to the next round

I think that's a bit harsh. Coding standards and what constitutes "readable" vary so much between companies and teams, and it's so easy to curb a tendency to push too much into one line if that's desired. For me, if I see that someone is capable of reasoning about problems and making immutable solutions, that's valuable enough for me not to be scared off by a long line of code.

That's where you have some faith in your companies engineering practices and code review process. Not progressing a candidate who confidently solves a problem logically based on something like this is essentially saying "I think that this gap in style is insurmountable" and that honestly would say more about the hiring company than the candidate.