A programmer says: “the glass is twice as large as necessary *.* ”
Related to your joke:
A programmer puts two glasses on his bedside table before going sleep. One full, in case he gets thirsty, and one empty, in case he doesn’t.
and it's true :-D