High School/Junior 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 void main(void) { char *message[] = {« Hello « , « World »}; int i;

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

Seasoned professional

#include #include

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

public: string() : size(0), ptr(new char(‘\0′)) {}

string(const string &s) : size(s.size) { ptr = new char[size + 1]; strcpy(ptr, s.ptr); }

~string() { delete [] ptr; }

friend ostream &operator <<(ostream &, const string &); string &operator=(const char *); };

ostream &operator<<(ostream La suite >