|
|
|
|
|
by slightlycuban
4008 days ago
|
|
Interesting. I take a similar approach, but then I add testing (which usually coincides with fixing some bug). Find an entry point to the system, then make it compile, then make the test run, then just keep on nudging the code until I'm satisfied I've covered what I'm interested in. If I stay true to my mantra "only add test code when it is absolutely necessary" (is this argument needed? pass null and find out), I find an accurate (albeit not pretty) description the flow through that procedure. Then you commit your test and save your discovery for posterity. |
|