When I have found the following snippet, I spent several minutes trying to understand if I was missing something.

while (x >= 0) {
        x--;
        y--;
}

I have only a question: why?


Image credits: Obama Wtf GIF from Tenor by airem23, unknown license.

Post last updated on 2021/03/21.