if (foo == foo || bar == bar) {
...
}
else {
...
} This is an old one. My software lead did this, I showed it to her and she said: Umm... I... yeah... I wasn't thinking :) .
We both laughed and I rewrote it all :) .
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more