This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Originally posted by Anton Pechsherov: Maybe , you can mistakes anywhere.. but it was enother Example ..
Yes, but the point is, it's a bad example, and one which we at the Ranch (as well as experienced programers everywhere) actively discourage people from following. I routinely tell people to never, under any circumstances, compare directly to a boolean literal; the tokens "==" or "!=" should never appear next to "true" or "false" in your code.