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) {

Technorati Tags: , ,

5 Responses to “Programming Puns”

  1. Timotei Says:

    lol =)) they are so good ^_^

  2. Pemyc Says:

    Here’s another few (uncensored ):
    - bool shit
    - bool an (RO)

  3. s|lent Says:

    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?

  4. Victor Says:

    @s|lent: WP-Codebox la care am scos background-ul: http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/

  5. s|lent Says:

    many thanks :)

Leave a Reply

Please write the reply in English!