Programming Puns
Writing code, comments, variable names, etc., in the manner that they create a pun:
byte me;
long john_silver;
char broiled;
string vest;
float valve;
double jeopardy;
struct by_lightning { … };
Object strongly;
class warfare { … };
String cheese;
Exception taken;
Graphics ex; // XXX
long walk(short pier) { } // from the MrBunny Java book
int elligence;
bool me_over;
short circus;
int eger; // …completing what the designers of the language left out
char acter;
bool ean;
void* bowels;
class Brick implements Throwable { }
class Marathon implements Runnable { }
class Novel implements Serializable { }
class Human implements Cloneable { }
Fun(key) %% funky!
G$
/* Following was seen in the required (at least until 3.8 or so) constructor for a JUnit TestCase.
* Many words or parts of words can be substituted for man as the variable name for hours of amusement.
* The shortest that makes sense is just “b”.
*/
public MyTestCase(String man) {
super(man);
}
throw (fit | up | something);
while (e_coyote) {
5 Responses to “Programming Puns”
Leave a Reply
Please write the reply in English!

July 20th, 2008 at 2:53 pm
lol =)) they are so good ^_^
July 21st, 2008 at 7:10 pm
Here’s another few (uncensored ):
- bool shit
- bool an (RO)
July 26th, 2008 at 12:34 am
lolz, foarte tare :D
int eger
bool shit asta e tare :D
hey am o intrebare offtopic
cum faci sa iti coloreze wordpress codul? are ceva tag pt cod,sa faca syntax highlight?
July 26th, 2008 at 1:29 pm
@s|lent: WP-Codebox la care am scos background-ul: http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/
August 4th, 2008 at 9:58 pm
many thanks :)