Code not for elegance but for interns
3 min readFeb 28, 2021
During one technical coding interview, I prefaced my answer with this:
“I assume the answer is what I would do in real life, working in a team who need to quickly understand and debug my code. And the code would scale and be testable.”
My answer is not a “toy” answer. I code for real life.
Multiple discreet stages instead of one pass wonders
Instead of an “elegant” approach which calculates results in a single pass, my solution achieves its result in…