Saturday, August 19, 2017

Apply binary tree search to bug fix

Disclaimer: tag for this post is "humor" :)
Imagine you cannot launch code step-by-step. And you have no server log. After build, application does not show up. And we need to find bug place in code.
Binary tree says:

  • Comment half of the code
  • Build and launch app again
  • If it still does not show up, comment half of remaining half of the code.
  • Etc :)

No comments:

Post a Comment