by Wolog · 8y ago · 0 comments
if(b < -9)
and instead type if(b <- 9)
The latter always evaluates to true and assigns the value you're trying to compare with to your variable. This can be extremely difficult to catch and detect, especially for people who aren't software developers. They aren't writing unit tests.No comments yet.