2005-01-15 00:36

by Vasil Kolev

At last Velin gave me the funny thing that they had fin with at new year’s Eve. A lot of holiday greetings in programming languages, sent as SMSes… If you want to add your own here, send mail to velin@zadnik.org or as a comment here, and if we get enough, we’ll have a whole page dedicated to them :)

2004, spite, C
————————

#include <greetings.h>
HAPPY_NEW_YEAR(2005)
#include <stdwishes.h>

2005, spite, python
————————

#!/usr/bin/env/python
import wishes
wishes.happy_new_year(‘velin’)
wishes.wish(‘velin’, wishes.ALL_GOOD_COME_TRUE)

2005, unknown, java
————————
class New_Year public static nain void (Strings [] args)
println(“Happy new year and best wishes!”)

2005, zaphod, perl
————————

#!/usr/bin/perl
$party = “old”;
$party =~ s/old/new/;
printf (“Happy %s year”, $party);
exit(0);

2005, velin, asm
————————

mov ah, 9
mov dx, offset wishes
int 21h
int 20h
wishes db ‘HNY’, ODh, OAh, ‘$’

2005, dobber, bash
————————

dobber:/# cat > party < EOF
#!/bin/bash
echo “Happy new $1 year”
EOF
dobber:/# sh ./party 2005

Leave a Reply