Evolution of a Programmer

Poza publicata in [ General / Unsorted ]

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 Cant write $arg:
$!
;
print (FILE $msg);
close(FILE) || die Cant 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


Cele mai Votate Pisici

Salut, ai timp de un comentariu ?

You must be logged in to post a comment.