24
05
2008
Matando un elefante amarillo
Publicado por: alfonso en humor, tags: código, elefante, matarLlamadme simple, pero me ha hecho muchísima gracia este pseudo-código-chiste.
¿Cómo matarías un elefante amarillo? Aquí tenéis el código:
void Elephant::Kill() {
YellowElephantsExterminatorGun gun;
if(color == YELLOW) {
gun.shoot(this);
} else if(color == GREEN) {
paint(YELLOW);
gun.shoot(this);
}
this->~Elephant();
}
Visto en chistesgeek.



Entradas (RSS)