35
mk3d
6y

Me, when read old code:
if z == true
return true
else
return false
Yeah, why not stupid fucker.

Comments
  • 1
    Maybe you didn't knew that you can return trueness of something other way than from if statement.
  • 4
    I once made an inversion function just like that

    function invert(bool){
    if(bool == true){
    return false
    }else if(bool == false){
    return true
    }
    }

    When I could've just done !bool
  • 0
    Ya why should I return z , that's my variable .
Add Comment