I don't know about getting unexpected results, but I'm slightly allergic to public variables - seen too much poorly written code with hundreds of them, making it very difficult to trace values.