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 replies. "I don't have time for girls.... But a talking frog is pretty neat."