After reading this article on thedailywtf.com, I\'m not sure that I really got the joke.
It says there that some guy changed the code from
int function()
Yes, the second code is cleaner, but depending on the compiler it can lead to emitting more machine code. This is entirely compiler-dependent, but the point of the WTF article is that in the second case the compiler would allocate a copy of string/integer value for each code snippet like that and in the first case it would do so only once per program.