• brian
    link
    fedilink
    arrow-up
    4
    ·
    7 hours ago

    found the following in our codebase the other day.

    while(booleanFlag)
        return;
    

    thhere wasn’t more in the loop body, that was it. the loop conditional does exist and it can hurt you.