"Evolution of a Programmer" joke

High school/Jr. High
10 PRINT "HELLO WORLD"
20 END
First year in college
program Hello(input, output);
begin
writeln ('Hello world');
end
Senior year in college
(defun hello
(print
(cons 'HELLO (list 'WORLD))))
New professional
#include
main (argc, argv)
int argc;
char **argv; {
printf ("Hello World!
");
}
Seasoned pro
#include
const int MAXLEN = 80;
class outstring;
class outstring {
private:
int size;
char str[MAXLEN];
public:
outstring() { size=0; }
~outstring() {size=0;}
void print();
void assign(char *chrs);
};
void outstring::print() {
int i;
for (i=0; i< size; i++)
cout " . $outfilename) || die "Can't write $arg:
$!
";
print (FILE $msg);
close(FILE) || die "Can't close $arg: $!
";
}
} else {
print ($msg);
}
1;
Experienced Hacker
#include
#define S "Hello, World
"
main(){exit(printf(S) == strlen(S)? 0: 1);}
Seasoned Hacker
% cc -o a.out ~/src/misc/hw/hw.c
% a.out
Guru Hacker
% cat
Hello, world.
^D
New Manager
10 PRINT "HELLO WORLD"
20 END
Middle Manager
mail -s "Hello, world." bob@b12
Bob, could you please write me a program that prints "Hello, world."?
I need it by tomorrow.
^D
Senior Manager
% zmail jim
I need a "Hello, world." program by this afternoon.
Chief Executive
% letter
letter: Command not found.
% mail
To: ^X ^F ^C
% help mail
help: Command not found.
% damn!
!: Event unrecognized
% logout

Not enough votes...

Be first to comment!
remember me
follow replies
Funny Joke? 1 vote(s). 0% are positive. 0 comment(s).