Wednesday, January 02, 2008

Feel free write a buggy code...

Reading through this blog and I was amazed to see how even the most experienced programmer makes simple mistake. This blog shows that Sun's implementation of Binary search which had a bug and it was undiscovered for some 9 years..! Though this is a extreme case (binary search fails if the array contains some billion elements.. :) ), it is still a bug..!

So don't feel bad if your code has some bugs..! Just chill out!!!!

No comments: