More coding expressions like while(!(succeed = try()))? [duplicate]

I am looking for either suggestions or examples of more famous sayings written in code! If you have a website or database of them, please link that below your favorite one! Examples:

while(!(succeed = try()))



marked as duplicate by Digital Trauma, Hosch250, Howard, Justin, John DvorakFeb 26 '14 at 6:41

• I prefer if(life.gives(you,lemons)) you.throw(lemons,'people you don\'t like') – Braden Best Mar 4 '14 at 20:07

if (glass.getLevel() == 0.5)
throw new ContainerTooLargeException(glass + " is twice as big as it needs to be.");

• Wouldn't that be an OptimismException? – Comintern Feb 26 '14 at 4:43
• The optimist says the glass is half full. The pessimist says it's half empty. The engineer says the glass is twice as big as it needs to be. – TheDoctor Feb 26 '14 at 15:47

~wish&~want;


or

Penny.Earned = Penny.Save();

• Nice ones! I wish I could upvote! MOAR PLS – DrJonesYu Feb 26 '14 at 5:37
• Shouldn't this just be Penny saved = earned; – user21375 May 16 '14 at 20:46

bash

say "It's going to be legen..."
waitforit
say "dary!"


C++

Toast toast = New Toast();
toast.fillside("butter", "up");
toast.fall(); //this method swaps sides, now buttered side is down