by jumploops · 2y ago · 0 comments
I like it because the solution is simple (add an op code via find/replace), but quickly shows how a candidate approaches a new codebase.
Testing how one deals with existing code and perceived technical debt (i.e. Chesterton’s Fence) is hard to do otherwise.
Can they dive into the weeds?
Do they get stuck refactoring until realizing why some code path is the way that it is?
Praise aside, I’d hope most shops could craft an exercise that takes less than an hour!
I can't immediately imagine when you would want to multiply.