The frog pipes up, "I'm really a beautiful princess and if you kiss me, I'll hang out with you for a week". The programmer shrugs his shoulders and puts the frog in his pocket.
A few minutes later, the frog says "OK, OK, if you kiss me, I'll be your girlfriend for a week".
The programmer nods and puts the frog back in his pocket.
A few minutes later, "Turn me back into a princess and I'll be your girlfriend for a whole year!”
The programmer smiles and walks on.
Finally, the frog says, "What's wrong with you? I've promised lots of fun with a beautiful princess for a whole year and you won't even kiss a frog?"
"I'm a programmer," he replied. "I don't have time for girls.... but a talking frog is pretty neat."