Can you spot the bug in this code?

Aug 30, 2008 13:32

Here I was working on this code and discovered a bug in it. The bug was easily found and dispatched. Can you see it?

Read more... )

programming, bugs

Leave a comment

Comments 2

mikec1157 September 2 2008, 08:21:23 UTC
No, I couldn't, what language is this?

Reply

fullcontactmuse September 2 2008, 13:10:55 UTC
It is C# and one the bug is a recursive call into itself resulting in a stack overflow. Easy to find and fix, but the fact that this copy and paste bug happened in the first place, that's another story...

Reply


Leave a comment

Up