PDA

View Full Version : The Evolution of a Programmer



asylu3
03-10-2004, 10:47 PM
The Evolution of a Programmer

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 <stdio.h>
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;

for(i = 0; i < 2; ++i)
printf("%s", message[i]);
printf("n");
}


Seasoned professional
#include <iostream.h>
#include <string.h>

class string
{
private:
int size;
char *ptr;

public:
string() : size(0), ptr(new char('

Zephyrus
07-10-2004, 10:02 PM
:laff: สุดๆเลย