Now, I think that you will agree with me when I tell you that this is not the algorithm for a binary
search, it just returns minus one.
But sometimes we just prepare our code or code base the architecture.
Maybe another developer should take over to develop a specific algorithm or whatsoever, or we just
have to take a break and need to work on something else which is more urgent.
Whatever.
Sometimes you have to pause the development and then you don't want to leave it like this unfinished.
You want to instead perform a best practice and write down a comment that says to do colon, and then
implement the binary search algorithm.
Now, in that way, someone else or you knows that he has to work on that.
You want to use that whenever something is not finished and needs some work.
And here is a nice cherry for you.
Now this really depends on the Visual Studio version that you're using.
So whenever you watch the course, maybe this window is not available anymore or has moved to a different
place, right?
But usually chances are high that you will be able to do that in a future version of Visual Studio.
Click on view and then go to Task List.
You can see that right here.
Or you can use that short code for sure.
Right click on that and then go to entire solution.
And you will be able to see all the parts of your code that use it to do comment.
And therefore Visual Studio recognizes, all right, this is a task that you have to work on to do implement
the binary search algorithm.
You can go to somewhere else, right?
I don't have another file, so I cannot do that.
But I can double click and then I will jump to the comment that says Todo.
This is the task list.
And this is a help for you and for every other developer to understand that the code is unfinished and
needs some more work or refactoring or whatever.