Ah, that soliloquy. I have the whole thing memorized :D
Well, that debate is the whole point of Hamlet's soliloquy, but Hamlet's view is a little extreme. "Life is only worth living because death is probably worse" isn't the best argument to make... I prefer "Life is full of possibilities, so why destroy them all and settle for death when something good is almost certain to happen to you?"