News for hackers. Stuff that matters.
Re:The Debugging Mindset by blauditore on Monday April 03, 2017 @03:22AM (#14021134)
And verify it with good tests. It sometimes happens that a certain piece of code is inherently complex, due to a complex underlying algorithm. But often, test cases are still easy to define, so it makes sense to heavily make use of them.

For example, sorting algorithms may be somewhat complicated in implementation, but it's trivial to come up with some sample before/after lists.

There are no comments on this comment yet.