Friday, August 18, 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 :)

If you are boring to talk to another person

Just start telling about your problems and dreams. You mood will change and interest to talk will come. Most people are concerned about whether their problems or desires.