Re:If software engineering is in demand, why is it so hard t...
by roberthahn on Monday August 30, 2021 @02:11PM
(#28358926)
I _really_ like this variant! In my experience new grads never seemed to have too much trouble with the exercise but then I do explain that itβs diagnostic in nature and use the exercise to see how coachable they are.
I pose a situation and introduce the v1 code. They look for bugs and propose fixes. Then I add on a new feature, and they look for more bugs. I've maybe 4-5 levels overall each having different classes of bugs, some of more or less subtlety. Fits on one whiteboard / single piece of paper in the end.
There are no syntax errors, just logic. Errors are in categories like: robustness, failure handling (internal or external), data/thread races, unforseen side effects, etc. The more experienced you are, the more problems I expect to be found. A "I don't know" is just fine (and often the following discussion is MORE informative).